Home

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.

PUBLISHED Reserved 2026-04-16 | Published 2026-07-08 | Updated 2026-07-08 | Assigner apache

Problem types

CWE-20 Improper Input Validation

Product status

Default status
unaffected

Any version before 1.2.1
affected

Credits

Junjie Li (Xidian University, https://github.com/jackieya) reporter

References

www.openwall.com/lists/oss-security/2026/07/08/5

lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvm vendor-advisory

cve.org (CVE-2026-41042)

nvd.nist.gov (CVE-2026-41042)

Download JSON