OS Command Injection in Junos OS and Junos OS Evolved - CVE-2025-52988
Published: July 18, 2025
Vulnerability details
The vulnerability allows a local privileged user to execute arbitrary code.
An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in the CLI of Juniper Networks Junos OS and Junos OS Evolved allows a high privileged, local attacker to escalated their privileges to root.
When a user provides specifically crafted arguments to the 'request system logout' command, these will be executed as root on the shell, which can completely compromise the device.
Affected software
Junos OS Evolved
How to mitigate CVE-2025-52988
Junos OS Evolved - addressed in versions 22.4R3-S6-EVO, 23.2R2-S1-EVO, 23.4R1-S2-EVO, 23.4R2-EVO, 24.2R1-EVO