CVE-2026-41042

published 8 Jul 2026 · updated 8 Jul 2026

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

10.0CriticalCVSS 9.1EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.2.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<1.2.11.2.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41042 severity on Zeptric[![CVE-2026-41042](https://zeptric.io/badge/cve/CVE-2026-41042.svg)](https://zeptric.io/cve/CVE-2026-41042)