Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvm
- http://www.openwall.com/lists/oss-security/2026/07/08/5
FAQ
What is CVE-2026-41042?
CVE-2026-41042 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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. ...
How severe is CVE-2026-41042?
CVE-2026-41042 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-41042?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.