Home / Juniper Networks / Junos OS / CVE-2025-21590
CVE-2025-21590: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?
CVE-2025-21590 is an improper Isolation or Compartmentalization vulnerability in Juniper Networks Junos OS, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 13, 2025, with a federal due date of April 3, 2025. Affected: Junos OS before 21.2R3-S9, Junos OS from 21.4 before 21.4R3-S10, Junos OS from 22.2 before 22.2R3-S6 and 4 more (CVE record by juniper). Fixed in 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S6 and 2 more (CVE record by juniper). Severity: Medium (6.7, CVSS 3.1, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-21590?
Junos OS: An local attacker with shell access can execute arbitrary code
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.
From the CVE record by juniper, last updated February 26, 2026, 19:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 | 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S6, 23.2R2-S3, 23.4R2-S4, 24.2R1-S2, 24.2R2 |
As the CVE record by juniper states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juniper | junos | before 21.2 | operating system |
| juniper | junos | 21.2 | operating system |
| juniper | junos | 21.4 | operating system |
| juniper | junos | 22.2 | operating system |
| juniper | junos | 22.4 | operating system |
| juniper | junos | 23.2 | operating system |
| juniper | junos | 23.4 | operating system |
| juniper | junos | 24.2 | operating system |
NVD analysis (status Analyzed), last modified October 1, 2026, 18:23 UTC.
How severe is CVE-2025-21590?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | juniper |
| Medium 6.7 | CVSS 4.0 | 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 | juniper |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-21590 exploited in the wild?
- CISA KEV
- Listed as Juniper Junos OS Improper Isolation or Compartmentalization Vulnerability, added March 13, 2025; federal agencies must act by April 3, 2025
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Ransomware use
- Unknown
- CISA's summary
- Juniper Junos OS contains an improper isolation or compartmentalization vulnerability. This vulnerability could allows a local attacker with high privileges to inject arbitrary code.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, March 14, 2025)
- EPSS
- 1.75% probability of exploitation activity in the next 30 days, percentile 78.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-653 Improper Isolation or Compartmentalization
How do I fix it? (from the CVE record)
The following software releases have been updated to resolve this specific issue: 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S6, 23.2R2-S3, 23.4R2-S4, 24.2R1-S2, 24.2R2, 24.4R1, and all subsequent releases. Please note that this issue is not fixed for all platforms in the releases specified in the solution section. For the following products the fix is only available in these releases: SRX300 Series 21.2R3-S9, 23.4R2-S5*, 24.4R1 SRX550HM 22.2R3-S7* EX4300 Series 21.4R3-S11* (except EX4300-48MP which has fixes available as indicated in the solution) EX4600 21.4R3-S11* (except EX4650 which has fixes available as indicated in the solution) ACX1000, ACX1100, ACX2100, ACX2200, ACX4000, ACX500 21.2R3-S9 MX104 21.2R3-S9 * Future Release
Is there a workaround? (from the CVE record)
It is strongly recommended to mitigate the risk of exploitation by restricting shell access to trusted users only.
Where are the vendor advisories and 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
Who found and reported it?
- Juniper SIRT would like to acknowledge and thank Matteo Memelli from Amazon for responsibly reporting this issue. Note: Amazon found the issue during internal security research and not due to exploitation. (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 26, 2024
- Published
- March 12, 2025, 13:59 UTC
- CVE record updated
- February 26, 2026, 19:09 UTC by juniper
- NVD
- Analyzed, last modified October 1, 2026, 18:23 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Junos OS?
- Sep 26, 2023CVE-2023-36851 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36846 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36845 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36844 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36847 Juniper Networks Junos OS: missing authentication for a critical function exploited
- May 4, 2020CVE-2020-1631 Juniper Networks Junos OS: path traversal (reading or writing files outside the intended folder) exploited
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
- Oct 14, 2026CVE-2026-101952 Juniper Networks Junos OS: quantity not validated
Questions about CVE-2025-21590
Is CVE-2025-21590 exploited in the wild?
Yes. CISA added CVE-2025-21590 to its Known Exploited Vulnerabilities catalog on March 13, 2025 and set federal agencies a due date of April 3, 2025. FIRST's EPSS gives it a 1.75% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Juniper Networks Junos OS are affected by CVE-2025-21590?
Junos OS before 21.2R3-S9, Junos OS from 21.4 before 21.4R3-S10, Junos OS from 22.2 before 22.2R3-S6, Junos OS from 22.4 before 22.4R3-S6, Junos OS from 23.2 before 23.2R2-S3, Junos OS from 23.4 before 23.4R2-S4 and 1 more, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2025-21590?
21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S6, 23.2R2-S3 and 23.4R2-S4, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-21590?
Medium (6.7, CVSS 3.1, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2025-21590?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.