# CVE-2026-21902: Junos OS Evolved: PTX Series: A vulnerability allows a unauthenticated, network-based attacker to execute code as root

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L/AU:Y/R:U/RE:M/U:Red`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: Low; AU: Y; R: U; RE: M; U: Red
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.20% (percentile 68, 2026-11-26)
- **CWE:** CWE-732
- **Published:** 2026-02-25T16:59:10.672Z
- **Modified:** 2026-06-17T10:19:07.143Z

## Who should check

- Anyone running Juniper Networks Junos OS Evolved \>= 25.4, \< 25.4R1-S1-EVO, 25.4R2-EVO

## Description

An Incorrect Permission Assignment for Critical Resource vulnerability in the On-Box Anomaly detection framework of Juniper Networks Junos OS Evolved on PTX Series allows an unauthenticated, network-based attacker to execute code as root.

The On-Box Anomaly detection framework should only be reachable by other internal processes over the internal routing instance, but not over an externally exposed port. With the ability to access and manipulate the service to execute code as root a remote attacker can take complete control of the device.
Please note that this service is enabled by default as no specific configuration is required.

This issue affects Junos OS Evolved on PTX Series:



  \*  25.4 versions before 25.4R1-S1-EVO, 25.4R2-EVO.




This issue does not affect Junos OS Evolved versions before 25.4R1-EVO.

This issue does not affect Junos OS.

## Affected and fixed versions

- Juniper Networks Junos OS Evolved: \>= 25.4, \< 25.4R1-S1-EVO, 25.4R2-EVO (cvelist)

## Mitigation

- Vendor workaround: To reduce the risk of exploitation of this issue, use access lists or firewall filters to limit access to only trusted networks and hosts.
- Please ensure such filters only permit explicitly required connections and block all others.
- 
- Also this service can be disabled by 'request pfe anomalies disable'.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-21902. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-21902.md
Affected: Juniper Networks Junos OS Evolved >= 25.4, < 25.4R1-S1-EVO, 25.4R2-EVO
Fixed in: Juniper Networks Junos OS Evolved 25.4R1-S1-EVO

Steps:
1. Search this machine and project for Juniper Networks Junos OS Evolved: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-21902 being exploited?

There is no confirmed exploitation: CVE-2026-21902 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-21902?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-21902?

Juniper Networks Junos OS Evolved \>= 25.4, \< 25.4R1-S1-EVO, 25.4R2-EVO.

### Is there a fix for CVE-2026-21902?

Yes. Fixed in Juniper Networks Junos OS Evolved 25.4R1-S1-EVO. Vendor workaround: To reduce the risk of exploitation of this issue, use access lists or firewall filters to limit access to only trusted networks and hosts. Please ensure such filters only permit explicitly required connections and block all others.  Also this service can be disabled by 'request pfe anomalies disable'.

### How do I check if I'm affected by CVE-2026-21902?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://supportportal.juniper.net/JSA107128>
- vendor: <https://kb.juniper.net/JSA107128>
- exploit: <https://github.com/watchtowrlabs/watchTowr-vs-JunosEvolved-CVE-2026-21902/blob/main/watchTowr-vs-JunosEvolved-CVE-2026-21902.py>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-21902>

HTML: <https://flawdb.com/CVE-2026-21902> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-21902>
