CVE-2025-59059 Apache Ranger: Remote Code Execution Vulnerability in NashornScriptEngineCreator
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2025-59059?
CVE-2025-59059 is a critical vulnerability in Apache Ranger, published on 3 Mar 2026.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2025-59059?
2 open source packages ship an affected version, including org.apache.ranger:ranger-plugins-common. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.ranger:ranger-plugins-common Maven | All versions | 2.8.0 |
org.apache.ranger:ranger-plugins-common Maven | All versions | 2.8.0 |
Products include Apache Ranger.
How do I fix CVE-2025-59059?
Upgrade org.apache.ranger:ranger-plugins-common to 2.8.0 or later.
Is CVE-2025-59059 being exploited?
There is no known exploitation of CVE-2025-59059 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Ranger
- CVE-2026-28672 Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder
- CVE-2026-32227 Apache Ranger: SQL Injection vulnerability in lookup functionality
- CVE-2026-40920 Apache Ranger: Privilege Escalation via URL Parameter
- CVE-2026-42537 Apache Ranger: Remote Code Execution via JDBC URL Injection
- CVE-2026-44416 Apache Ranger: Remote Code Execution via Arbitrary Class Instantiation
Sources
Also known as ECHO-f414-1e9c-fa8f, GHSA-c87w-642h-m97h.