---
title: "CVE-2025-59059: Apache Ranger has a Code Injection vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-59059/
description: "CVE-2025-59059 (org.apache.ranger:ranger-plugins-common (Maven)): Remote Code Execution Vulnerability in NashornScriptEngineCreator is reported in Apache…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-03-03
date_modified: 2026-03-04
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-59059"
kev: false
cvss: 9.8
epss: 0.01266
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-59059: Apache Ranger has a Code Injection vulnerability

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 1.3% , percentile 69: FIRST’s model estimates a 1.3% chance of exploitation activity in the next 30 days, higher than 69% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes org.apache.ranger:ranger-plugins-common (Maven) < 2.8.0, fixed in 2.8.0 . Check your lockfile, including transitive dependencies.

## What it is

Remote Code Execution Vulnerability in NashornScriptEngineCreator is reported in Apache Ranger versions

## Affected packages

- Maven `org.apache.ranger:ranger-plugins-common` < 2.8.0 → fixed: 2.8.0

## Affected products (CVE record)

- Apache Software Foundation Apache Ranger: <= 2.7.0

## Severity

- CISA-ADP CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.27% probability of exploitation activity in the next 30 days; percentile 69.

## Sources

- [lists.apache.org](https://lists.apache.org/thread/z47q86rho80390lf2qcmoc2josvs0gtv)
- [GitHub Advisory GHSA-c87w-642h-m97h](https://github.com/advisories/GHSA-c87w-642h-m97h)
- [CVE.org record CVE-2025-59059](https://www.cve.org/CVERecord?id=CVE-2025-59059)
- [NVD entry CVE-2025-59059](https://nvd.nist.gov/vuln/detail/CVE-2025-59059)
- [openwall.com](http://www.openwall.com/lists/oss-security/2026/03/02/5)

---
Source page: https://erroneo.us/security/cve/CVE-2025-59059/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
