# CVE-2025-21590: Junos OS: An local attacker with shell access can execute arbitrary code

- Severity: Medium 6.7 (CVSS:4.0, scored by juniper) `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: yes. In CISA's catalogue since 2025-03-13. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-12-01)
- Published: 2025-03-12T13:59:43.038Z
- Modified: 2026-10-01T18:23:34.867Z
- Weaknesses: CWE-653
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact total
- Assigned by: juniper

## Description

An Improper Isolation or Compartmentalization vulnerability in the kernel of Juniper Networks Junos OS allows a local attacker with high privileges to compromise the integrity of the device.

A local attacker with access to the shell is able to inject arbitrary code which can compromise an affected device.
This issue is not exploitable from the Junos CLI.
This issue affects Junos OS: 



  *  All versions before 21.2R3-S9,
  *  21.4 versions before 21.4R3-S10, 
  *  22.2 versions before 22.2R3-S6, 
  *  22.4 versions before 22.4R3-S6, 
  *  23.2 versions before 23.2R2-S3, 
  *  23.4 versions before 23.4R2-S4,
  *  24.2 versions before 24.2R1-S2, 24.2R2.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: before 21.2R3-S9; from 21.4 before 21.4R3-S10; from 22.2 before 22.2R3-S6; from 22.4 before 22.4R3-S6; from 23.2 before 23.2R2-S3; from 23.4 before 23.4R2-S4; from 24.2 before 24.2R1-S2, 24.2R2
- juniper junos: before 21.2; 21.2; 21.4; 22.2; 22.4
- Juniper Junos OS: no versions given

## Every score

- juniper: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- juniper: CVSS:4.0 6.7 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://supportportal.juniper.net/JSA93446> (vendor-advisory)
- <https://cloud.google.com/blog/topics/threat-intelligence/china-nexus-espionage-targets-juniper-routers> (third-party-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21590> (government-resource, us-government-resource)
- <https://supportportal.juniper.net/s/article/2025-03-Out-of-Cycle-Security-Bulletin-Junos-OS-A-local-attacker-with-shell-access-can-execute-arbitrary-code-CVE-2025-21590?language=en_US> (kev)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-21590> (kev)

## Sources

- CVE List: [CVE-2025-21590](https://www.cve.org/CVERecord?id=CVE-2025-21590), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2025-21590](https://nvd.nist.gov/vuln/detail/CVE-2025-21590), Public domain, modified 2026-10-01
- CISA KEV: [CVE-2025-21590](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-21590), CC0-1.0, modified 2025-03-13

---

Page: https://cve.day/CVE-2025-21590 · Whole record: https://cve.day/CVE-2025-21590.json · Rebuilt by cve.day 2026-11-25T22:58:55.211Z
