Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.0%top 41%

CVE-2026-41042: CWE-20 Improper Input Validation in Apache Software Foundation Apache Gravitino

0
Critical
VulnerabilityCVE-2026-41042cvecve-2026-41042cwe-20
Published: 07/08/2026 (07/08/2026, 11:38:55 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Gravitino

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 v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

Apache Software Foundation/org.apache.gravitino:gravitino-catalog-jdbc-common
pkg:maven/Apache Software Foundation/org.apache.gravitino:gravitino-catalog-jdbc-common
Affected versions
<1.2.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 12:28:41 UTC

Technical Analysis

CVE-2026-41042 is an improper input validation vulnerability (CWE-20) in Apache Gravitino versions prior to 1.2.1. The vulnerability allows unauthenticated callers to provide a crafted H2 JDBC URL through the testConnection API. This URL leverages the H2 database's INIT parameter to execute arbitrary Java code on the server. The flaw is specific to configurations using H2, which is mainly used for testing and local development environments. The vendor recommends upgrading to Apache Gravitino 1.2.1, which addresses this issue.

Potential Impact

Successful exploitation results in arbitrary Java code execution on the server hosting Apache Gravitino, potentially compromising the system. However, the impact is limited by the typical use of H2 only in testing or local development and the usual deployment of Gravitino in internal environments. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade Apache Gravitino to version 1.2.1 or later, which fixes this vulnerability. Since this is the official fix, no additional mitigations are required. Patch status is confirmed by vendor advisory information embedded in the description.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-16T11:19:50.383Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4e3f0ac9d9e3dbe30d1c65

Added to database: 07/08/2026, 12:14:02 UTC

Last enriched: 07/08/2026, 12:28:41 UTC

Last updated: 08/22/2026, 10:52:08 UTC

Views: 117

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses