Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Unauthenticated network RCE (PR:N, AV:N) with full code execution impacting C/I/A:H, but AC:H because it depends on the non-default, attacker-uncontrolled H2 backend configuration.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
7DescriptionCVE.org
Unauthenticated callers can supply a malicious H2 JDBC URL through the testConnection API, which executes arbitrary Java code on the server via H2's INIT parameter. Vulnerability in Apache Gravitino.
This issue affects Apache Gravitino: before 1.2.1.
Users are recommended to upgrade to version 1.2.1, which fixes the issue.
This issue only happens when using H2, and H2 is mainly used for testing and local development. Also, Gravitino is typically deployed in the internal environment, so the severity is low.
Articles & Coverage 1
AnalysisAI
Remote code execution in Apache Gravitino before 1.2.1 allows unauthenticated callers to abuse the testConnection API by submitting a crafted H2 JDBC URL whose INIT parameter runs arbitrary Java on the server. The flaw only manifests when Gravitino is backed by the H2 database - a configuration primarily used for testing and local development - and CISA SSVC rates technical impact as total and exploitation as automatable, though no public exploit has surfaced. Fixed in 1.2.1; because Gravitino is usually deployed on internal networks and H2 is not the production default, the vendor characterizes real-world severity as low despite the 9.1 CVSS score.
Technical ContextAI
Apache Gravitino is a metadata lake / data-catalog service that federates metadata across data sources; it exposes REST APIs including a testConnection endpoint used to validate backend connectivity. The H2 database (an embedded Java SQL engine) supports an INIT connection parameter in its JDBC URL that executes SQL - and, via H2 features such as CREATE ALIAS ... AS with Java source, arbitrary Java code - at connection time. Because Gravitino passes an attacker-influenced JDBC URL to H2 without validating or restricting it, this is a classic CWE-20 (Improper Input Validation) failure that converts an untrusted URL into server-side code execution. The affected component per CPE is cpe:2.3:a:apache_software_foundation:apache_gravitino, all versions prior to 1.2.1.
RemediationAI
Upgrade to Apache Gravitino 1.2.1, which fixes the issue (Vendor-released patch: 1.2.1); this is the primary and recommended action per the Apache advisory at https://lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvm. If immediate patching is not possible, the most effective compensating control is to stop using the H2 backend and migrate to a production database (e.g. MySQL/PostgreSQL), since the flaw only triggers with H2 - with the trade-off of a backend migration effort. Additionally, restrict network access to the Gravitino API and specifically the testConnection endpoint to trusted management networks or authenticated proxies, keeping the service off untrusted networks (trade-off: may disrupt automation or tooling that calls the API remotely). Do not expose H2-backed instances to shared or internet-facing networks.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-20 – Improper Input Validation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42221
GHSA-2q68-xwfj-2rpc