CVE-2025-59059: Apache Ranger · Code Injection
Affects Apache RangerSource CVE Database V5
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software FoundationApache Ranger | Affected
| Fixed in– |
Mavenorg.apache.ranger/rangerpkg:maven/org.apache.ranger/rangerOther threats | Affected
| 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.