CVE-2025-52988
Junos OS and Junos OS Evolved: Privilege escalation to root via CLI command 'request system logout'
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. This issue affects:
Junos OS:
- all versions before 21.2R3-S9,
- 21.4 versions before 21.4R3-S8,
- 22.2 versions before 22.2R3-S6,
- 22.3 versions before 22.3R3-S3,
- 22.4 versions before 22.4R3-S6,
- 23.2 versions before 23.2R2-S1,
- 23.4 versions before 23.4R1-S2, 23.4R2;
Junos OS Evolved:
- all versions before 22.4R3-S6-EVO,
- 23.2-EVO versions before 23.2R2-S1-EVO,
- 23.4-EVO versions before 23.4R1-S2-EVO, 23.4R2-EVO.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.4
Junos OS and Junos OS Evolved: Privilege escalation to root via CLI command 'request system logout'
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. This issue affects:
Junos OS:
- all versions before 21.2R3-S9,
- 21.4 versions before 21.4R3-S8,
- 22.2 versions before 22.2R3-S6,
- 22.3 versions before 22.3R3-S3,
- 22.4 versions before 22.4R3-S6,
- 23.2 versions before 23.2R2-S1,
- 23.4 versions before 23.4R1-S2, 23.4R2;
Junos OS Evolved:
- all versions before 22.4R3-S6-EVO,
- 23.2-EVO versions before 23.2R2-S1-EVO,
- 23.4-EVO versions before 23.4R1-S2-EVO, 23.4R2-EVO.
- Record
CVE-2025-52988- CVSS 4.0
- 8.4 High
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/AU:Y/R:U/RE:M - CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
EUVDEUVD-2025-21167
8.4
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. This issue affects:
Junos OS:
- all versions before 21.2R3-S9,
- 21.4 versions before 21.4R3-S8,
- 22.2 versions before 22.2R3-S6,
- 22.3 versions before 22.3R3-S3,
- 22.4 versions before 22.4R3-S6,
- 23.2 versions before 23.2R2-S1,
- 23.4 versions before 23.4R1-S2, 23.4R2;
Junos OS Evolved:
- all versions before 22.4R3-S6-EVO,
- 23.2-EVO versions before 23.2R2-S1-EVO,
- 23.4-EVO versions before 23.4R1-S2-EVO, 23.4R2-EVO.
- Record
EUVD-2025-21167- CVSS 4.0
- 8.4 High
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/AU:Y/R:U/RE:M - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-w3xh-4xq9-g5fm
8.4
An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')...
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. This issue affects:
Junos OS:
- all versions before 21.2R3-S9,
- 21.4 versions before 21.4R3-S8,
- 22.2 versions before 22.2R3-S6,
- 22.3 versions before 22.3R3-S3,
- 22.4 versions before 22.4R3-S6,
- 23.2 versions before 23.2R2-S1,
- 23.4 versions before 23.4R1-S2, 23.4R2;
Junos OS Evolved:
- all versions before 22.4R3-S6-EVO,
- 23.2-EVO versions before 23.2R2-S1-EVO,
- 23.4-EVO versions before 23.4R1-S2-EVO, 23.4R2-EVO.
- Record
GHSA-w3xh-4xq9-g5fm- CVSS 4.0
- 8.4 High
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: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:Y/R:U/V:X/RE:M/U:X - CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
NVD
8.4
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. This issue affects:
Junos OS:
- all versions before 21.2R3-S9,
- 21.4 versions before 21.4R3-S8,
- 22.2 versions before 22.2R3-S6,
- 22.3 versions before 22.3R3-S3,
- 22.4 versions before 22.4R3-S6,
- 23.2 versions before 23.2R2-S1,
- 23.4 versions before 23.4R1-S2, 23.4R2;
Junos OS Evolved:
- all versions before 22.4R3-S6-EVO,
- 23.2-EVO versions before 23.2R2-S1-EVO,
- 23.4-EVO versions before 23.4R1-S2-EVO, 23.4R2-EVO.
- Record
CVE-2025-52988- CVSS 4.0
- 8.4 High
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: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:Y/R:U/V:X/RE:M/U:X - CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-52988 is a high vulnerability (CVSS 8.4) in Juniper Junos, published July 11, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.44%, the 38th percentile. No source names a fixed version.