What’s Vulnerable › Vulnerabilities
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 (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-08 · updated 2026-10-25
- Weakness: CWE-20
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 products
- Apache Software Foundation Apache Gravitino: before 1.2.1 — fixed in 1.2.1
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Gravitino 1.2.1. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvm
- http://www.openwall.com/lists/oss-security/2026/07/08/5
Get alerted when CVE-2026-41042 or the next vulnerability affects your stack