CVE-2025-59059: Apache Ranger: Remote Code Execution Vulnerability in NashornScriptEngineCreator
Vulnerability summary
CVE-2025-59059 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in apache software foundation apache ranger. EPSS estimates a 1.30% chance of exploitation in the next 30 days, higher than 71.3% of scored vulnerabilities.
Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 03-03-2026PublishedVulnerability first disclosed.
- 03-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.30%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
Decrease -0.08 pp
From 1.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- druid< 36.0.0-r3
- trino-plugin-ranger< 480-r0
Wolfi2 products
- druid< 36.0.0-r3
- trino-plugin-ranger< 480-r0
Apache1 product
- ranger< 2.8.0
Apache software foundation1 product
- apache ranger≤ 2.7.0
Org.apache.ranger1 product
- ranger-plugins-common< 2.8.0
5 vendors · 7 products
References
5 links- github.com/apache/rangerPACKAGE