# CVE-2026-41042: 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: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.35%, higher than 72% of CVEs (2026-12-01)
- Published: 2026-07-08T11:38:55.311Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- org.apache.gravitino:gravitino-catalog-jdbc-common: before 1.2.1

## References

- <https://lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvm> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/07/08/5>

## Sources

- CVE List: [CVE-2026-41042](https://www.cve.org/CVERecord?id=CVE-2026-41042), CVE Terms of Use, modified 2026-07-08
- NVD: [CVE-2026-41042](https://nvd.nist.gov/vuln/detail/CVE-2026-41042), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-41042 · Whole record: https://cve.day/CVE-2026-41042.json · Rebuilt by cve.day 2026-11-25T22:59:27.357Z
