Skip to main content
EPSS 0.7%top 49%

CVE-2026-42537: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache Ranger

0
Critical
VulnerabilityCVE-2026-42537cvecve-2026-42537cwe-94cwe-20
Published: 08/10/2026 (08/10/2026, 10:24:34 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Ranger

Description

Remote Code Execution via JDBC URL Injection in Apache Ranger <= 2.8.0 Users are recommended to upgrade to version 2.9.0, which fixes this issue.

CVSS v3.1

Score 9.8critical

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

Affected software

Apache Software Foundation

Apache Ranger

Affected versions
>=0 <=2.8.0
org.apache.ranger/ranger
pkg:maven/org.apache.ranger/ranger
Affected versions
<=2.8.0

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: 08/17/2026, 15:00:41 UTC

Technical Analysis

This vulnerability (CVE-2026-42537) in Apache Ranger (<=2.8.0) involves improper control of code generation (CWE-94) through JDBC URL injection, enabling remote code execution. The issue allows an unauthenticated attacker to execute arbitrary code on the affected system by injecting malicious code via the JDBC URL. The Apache Software Foundation has released version 2.9.0 to fix this vulnerability.

Potential Impact

Successful exploitation of this vulnerability can lead to complete compromise of the affected system, including unauthorized code execution, full confidentiality, integrity, and availability impact. The CVSS score of 9.8 reflects the critical severity and ease of exploitation without privileges or user interaction.

Mitigation Recommendations

Users should upgrade Apache Ranger to version 2.9.0 or later, which contains the official fix for this vulnerability. No other mitigations or temporary workarounds are documented. Patch status is confirmed by the vendor advisory recommending upgrade to 2.9.0.

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-28T16:15:14.168Z
State
PUBLISHED

Threat ID: 6a79aae9bf8831d53985a7d0

Added to database: 08/10/2026, 10:41:45 UTC

Last enriched: 08/17/2026, 15:00:41 UTC

Last updated: 09/23/2026, 13:47:44 UTC

Views: 65

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