CVE-2026-42537

Apache Ranger: Remote Code Execution via JDBC URL Injection

Published Aug 10, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.3% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The described flaw enables an attacker to inject an arbitrary JDBC URL into Apache Ranger, leading to remote code execution. The vulnerability stems from insufficient input validation on JDBC URL strings, allowing an attacker to embed executable code. Successful exploitation would allow the attacker to run arbitrary commands on the underlying system, compromising confidentiality, integrity and availability.

Affected Systems

Apache Ranger versions 2.8.0 and earlier are affected. The vendor is Apache Software Foundation, product Apache Ranger. No specific patch level is mentioned beyond version 2.8.0. The recommended fix is to upgrade to 2.9.0 or any later release.

Risk and Exploitability

The CVSS score is 9.8, indicating a critical security flaw. The EPSS score is < 1%, suggesting a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker inserting a malicious JDBC URL via a configuration or API request that Ranger processes without proper validation, enabling arbitrary code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Ranger to version 2.9.0 or later.
  • Limit access to the Ranger service to trusted hosts or networks until the patch is applied.
  • Validate or sanitize all JDBC URL inputs to prevent injection of malicious commands.

Generated by OpenCVE AI on August 13, 2026 at 08:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:ranger:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache ranger
Vendors & Products Apache
Apache ranger
Type Values Removed Values Added
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.
Title Apache Ranger: Remote Code Execution via JDBC URL Injection
Weaknesses CWE-20
CWE-94
References
Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 12, 2026, 3:20 PM
Reserved
Apr 28, 2026, 4:15 PM
Status
Analyzed
Published
Aug 10, 2026, 11:17 AM
Modified
Oct 23, 2026, 8:10 PM