OS Command Injection in Junos OS Evolved and Juniper Junos OS - CVE-2025-52988

 

OS Command Injection in Junos OS Evolved and Juniper Junos OS - CVE-2025-52988

Published: July 18, 2025


Vulnerability identifier: #VU113050
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-52988
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Juniper Networks, Inc.
Affected software:
Junos OS Evolved
Juniper Junos OS

Detailed vulnerability description

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.


How to mitigate CVE-2025-52988

Install updates from vendor's website.

Sources