CVE-2025-21590

published 12 Mar 2025 · updated 26 Feb 2026

Junos OS: An local attacker with shell access can execute arbitrary code

6.4MediumCVSS 4.4EPSS 2%CISA KEV · due 3 Apr 2025

Exploited in the wild, in CISA KEV since 13 Mar 2025 (due 3 Apr 2025). Fixed in 21.4R3-S10, 22.2R3-S6, 22.4R3-S6 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
JuniperJunos OS
Juniper Networks>=21.4 <21.4R3-S10, >=22.2 <22.2R3-S6, >=22.4 <22.4R3-S6, <21.2R3-S9, >=23.4 <23.4R2-S4, >=24.2 <24.2R1-S2, 24.2R2, >=23.2 <23.2R2-S321.4R3-S10, 22.2R3-S6, 22.4R3-S6, 21.2R3-S9, 23.4R2-S4, 24.2R1-S2, 24.2R2, 23.2R2-S3

Exploit evidence

1 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Junos OS, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21590 severity on Zeptric[![CVE-2025-21590](https://zeptric.io/badge/cve/CVE-2025-21590.svg)](https://zeptric.io/cve/CVE-2025-21590)