Vulnerability · Published Mar 3, 2026 · Assigned by apache

CVE-2025-59059Apache Ranger: Remote Code Execution Vulnerability in NashornScriptEngineCreator

Critical 9.8

In plain English

A critical-severity code injection in Apache Ranger from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.4%top 27.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.ranger:ranger-plugins-common2.8.0GHSA-c87w-642h-m97h

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Ranger 0 – through 2.7.0

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References