CVE-2025-21590Junos OS: An local attacker with shell access can execute arbitrary code
- 6.7MediumCVSS base score
- 1.7%Exploitation in 30 daysEPSS · top 22% of all CVEs
- YesKnown exploitedin CISA's KEV since 13 Mar 2025
- YesPublic exploitsa reference or SSVC says so
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Juniper Junos OS Improper Isolation or Compartmentalization Vulnerability.
- Added
- 13 Mar 2025
- Fix due (US federal)
- 3 Apr 2025
- Used by ransomware
- Not known
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 13 Mar 2025.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: it is being exploited.
Timeline
ID reserved
By juniper
- 3 months later
· 3 months later
Published
- 1 day later
· 1 day later
Added to CISA KEV
Known exploited in the wild
- 12 months later
· 12 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| juniperCNA (assigner) | 4.0 | Medium6.7 | 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 |
| juniperCNA (assigner) | 3.1 | Medium4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| NVDNVD · Analyzed | 4.0 | Medium6.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 1.7% · top 22% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.7.
Affected products
- affected < 21.2R3-S9
- affected 21.4 – < 21.4R3-S10
- affected 22.2 – < 22.2R3-S6
- affected 22.4 – < 22.4R3-S6
- affected 23.2 – < 23.2R2-S3
- affected 23.4 – < 23.4R2-S4
- affected 24.2 – < 24.2R1-S2, 24.2R2
What to do
Solution: 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
Workaround: It is strongly recommended to mitigate the risk of exploitation by restricting shell access to trusted users only.
Exploitation: At least one instance of malicious exploitation has been reported to the Juniper SIRT. Customers are encouraged to upgrade to a fixed release as soon as it's available and in the meantime take steps to mitigate this vulnerability.
References
References3
- https://supportportal.juniper.net/JSA93446 (opens in a new tab)vendor-advisory
- https://cloud.google.com/blog/topics/threat-intelligence/china-nexus-espionage-targets-juniper-routers (opens in a new tab)third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21590 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-6303 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21590)Record last updated .