CVE-2026-41042
published 2026-07-08CVE-2026-41042: 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…
PriorityP273critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
EXPLOIT
EPSS
1.51%
74.3th percentile
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
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache_software_foundation | apache_gravitino | < 1.2.1 | 1.2.1 |
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Nuclei
Apache Gravitino < 1.2.1 - Unauthenticated Remote Code Execution
nuclei·CVSS 9.1
CVE-2026-41042 [CRITICAL] Apache Gravitino < 1.2.1 - Unauthenticated Remote Code Execution
Apache Gravitino < 1.2.1 - Unauthenticated Remote Code Execution
Apache Gravitino < 1.2.1 contains a remote code execution caused by unsanitized H2 JDBC URL via testConnection API using H2's INIT parameter, letting unauthenticated attackers execute arbitrary Java code remotely, exploit requires H2 usage.
Template:
id: CVE-2026-41042
info:
name: Apache Gravitino < 1.2.1 - Unauthenticated Remote Code Execution
author: buzhimingdeaikun
severity: critical
description: |
Apache Gravitino < 1.2.1 contains a remote code execution caused by unsanitized H2 JDBC URL via testConnection API using H2's INIT parameter, letting unauthenticated attackers execute arbitrary Java code remotely, exploit requires H2 usage.
impact: |
Unauthenticated attackers can execute arbitrary Java code on the server, p
No writeups or analysis indexed.
2026-07-08
Published