Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable low-complexity RCE, but injecting a JDBC URL normally requires an authenticated admin/config action, so PR:L rather than PR:N; full C/I/A on host compromise.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
5DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Remote code execution in Apache Ranger versions up to and including 2.8.0 arises from JDBC URL injection (CWE-94), letting an attacker who can influence a database connection string coerce the server into loading attacker-controlled JDBC driver behavior and executing arbitrary code on the Ranger host. This flaw affects the centralized authorization framework used to govern access across Hadoop-ecosystem services, so compromise undermines the very control plane meant to enforce data security. There is no public exploit identified at time of analysis and EPSS is low (0.36%, 29th percentile), but the fix in 2.9.0 and the critical 9.8 CVSS warrant prompt patching.
Technical ContextAI
Apache Ranger is an open-source framework that centralizes authorization, auditing, and data governance for Hadoop-ecosystem components (HDFS, Hive, HBase, Kafka, etc.), managed through the Ranger Admin web console and REST API where operators define services and their backing datastore connections. The vulnerability class is JDBC URL injection: JDBC connection strings can carry driver-specific parameters that trigger dangerous behavior - for example MySQL Connector/J deserialization/local-infile options, or H2 'INIT'/RUNSCRIPT directives - turning a controllable URL into a code-execution or file-read primitive. Mapped to CWE-94 (Improper Control of Generation of Code / Code Injection), the root cause is that a URL/parameter value crossing a trust boundary is used to drive driver loading or query initialization without adequate validation or allow-listing. The single CPE provided (cpe:2.3:a:apache_software_foundation:apache_ranger:*) covers all Ranger releases up to the 2.8.0 boundary.
RemediationAI
Vendor-released patch: upgrade to Apache Ranger 2.9.0, which the Apache advisory identifies as the fix for this JDBC URL injection issue (advisory: https://lists.apache.org/thread/ymwvz8cwv3wm8fq21pnd7fco0l1m4wrp). Until you can upgrade, restrict who can reach and modify service/datasource configurations: place the Ranger Admin console and REST API behind network controls so only trusted operators can reach the connection-configuration and connection-test endpoints, and tightly limit accounts with service-creation/edit privileges (trade-off: may slow legitimate service onboarding). Where feasible, constrain JDBC connectivity from the Ranger host at the network layer to only the intended database endpoints so an injected URL cannot reach attacker-controlled or unexpected backends (trade-off: must be updated whenever legitimate datasources change). Review Ranger audit logs for unexpected service/datasource creation or connection-test activity as a detection compensating control.
More in Apache Ranger
View allRemote code execution in Apache Ranger 2.8.0 and earlier arises from arbitrary Java class instantiation in the plugin-sc
Privilege escalation in Apache Ranger versions 2.8.0 and earlier allows an attacker to elevate their effective permissio
TLS hostname verification failure in Apache Ranger Client Code allows network-positioned attackers to intercept sensitiv
Command injection in Apache Ranger versions 0.6 through 2.8 allows attackers to inject and execute operating-system comm
Remote code execution in Apache Ranger versions up to and including 2.8.0 stems from unsafe script evaluation in the Gra
SQL injection in Apache Ranger allows remote attackers to inject arbitrary SQL through the application's data-access lay
JWT tokens written to Apache Ranger logs in versions 2.8.0 and earlier remain replayable, allowing any party with read a
Unauthenticated access to Apache Ranger Download APIs on versions 2.8.0 and earlier exposes sensitive authorization poli
Brute-force credential attacks against Apache Ranger's UnixAuth component are possible in all versions up to and includi
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-55251
GHSA-4rwg-mr3v-x763