Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2025-59059 EUVD-2025-208228GHSA-c87w-642h-m97h

Apache Ranger: Remote Code Execution Vulnerability in NashornScriptEngineCreator

Published Mar 3, 2026 · Updated Mar 3, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Ranger ≤ 2.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling druid 36.0.0-r3 —
Wolfi rolling trino-plugin-ranger 480-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.ranger:ranger-plugins-common < 2.8.0 2.8.0 GHSA-c87w-642h-m97h

References