CVE-2026-41042
CriticalUnauthenticated 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.
Published Jul 8, 2026 · Updated Jul 8, 2026
Key Facts
Patch in the next maintenance window- CVE-2026-41042 is a critical-severity vulnerability (CVSS 9.1 v3.1) affecting org.apache.gravitino:gravitino-catalog-jdbc-common.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 1.5% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.apache.gravitino:gravitino-catalog-jdbc-common 1.2.1.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
CVSS v3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS (30-day exploit likelihood)
1.5%
Higher than 74.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2026-41042 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
1 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.gravitino:gravitino-catalog-jdbc-common | See advisory | 1.2.1 |
Patched Releases
org.apache.gravitino:gravitino-catalog-jdbc-common
1.2.1
Timeline
Publicly disclosed
Jul 8, 2026
Weakness Type
- CWE-20 Improper Input Validation
References
- advisoryhttps://lists.apache.org/thread/04j2l6dosyboor4o2gvrzbrcrpllmh95
- advisoryhttps://lists.apache.org/thread/65hh7dh28rcxlzdzwdpt630321tr8b61
- advisoryhttps://lists.apache.org/thread/9wml325g6bpovw0jf5ymtc3xl7fwlkrn
- advisoryUSOM advisory
- otherhttps://lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvm
FAQ
Common Questions.
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.
Affected: org.apache.gravitino:gravitino-catalog-jdbc-common. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including org.apache.gravitino:gravitino-catalog-jdbc-common 1.2.1.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-41042 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo