CVE-2026-41042
JSON

9.1critical

Apache Gravitino: 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

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.35% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache

Description

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.

Affected

Product or packageVersionsReported by
org.apache.gravitino:gravitino-catalog-jdbc-commonbefore 1.2.1CVE List

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las llamadas no autenticadas pueden proporcionar una URL JDBC H2 maliciosa a través de la API testConnection, que ejecuta código Java arbitrario en el servidor mediante el parámetro INIT de H2. Vulnerabilidad en Apache Gravitino. Este problema afecta a Apache Gravitino: versiones anteriores a la 1.2.1. Se recomienda a los usuarios actualizar a la versión 1.2.1, que soluciona el problema. Este problema solo ocurre al usar H2, y H2 se utiliza principalmente para pruebas y desarrollo local. Además, Gravitino se suele desplegar en el entorno interno, por lo que la gravedad es baja.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-41042 changed 2026-07-08CVE Terms of Use
NVDCVE-2026-41042 changed 2026-10-25Public domain