Skip to main content
VulnerabilityPublished

CVE-2025-59059: Apache Ranger · Code Injection

Affects Apache RangerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.8 Critical · fixed in 2.8.0 : patch Apache Ranger as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.8.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Apache Software FoundationApache RangerAffected
  • <=2.7.0
Fixed in–
Mavenorg.apache.ranger/rangerpkg:maven/org.apache.ranger/rangerOther threatsAffected
  • <=2.7.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-59059, organizations should immediately upgrade Apache Ranger to version 2.8.0 or later, where the vulnerability is fixed. Until the upgrade is applied, restrict network access to the Ranger server to trusted administrators only and monitor logs for unusual script execution or access patterns related to the NashornScriptEngineCreator. Implement network segmentation to isolate Ranger from less trusted networks and enforce strict firewall rules. Review and harden Ranger configurations, disabling any unnecessary scripting features if possible. Employ intrusion detection and prevention systems (IDPS) to detect anomalous behavior indicative of code injection attempts. Conduct regular audits of Ranger policies and access logs to identify potential unauthorized changes. Additionally, ensure that all big data platform components integrated with Ranger are up to date and follow security best practices to limit the blast radius of any compromise.

Description

Remote Code Execution Vulnerability in NashornScriptEngineCreator is reported in Apache Ranger versions <= 2.7.0. Users are recommended to upgrade to version 2.8.0, which fixes this issue.

References

Community reviews

Loading reviews…