CVE-2025-52988
CVE-2025-52988 is a medium-severity vulnerability in Juniper Junos with a CVSS 3.x base score of 6.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-78.
Key facts
- Severity: Medium (CVSS 3.x base score 6.7)
- CVSS v4: 8.4
- EPSS exploit prediction: 0% (37th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-21167
- Weakness: CWE-78
- Affected product: Juniper Junos
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-52988?
- 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.
- How severe is CVE-2025-52988?
- CVE-2025-52988 has a CVSS 3.x base score of 6.7, rated medium severity. It is exploitable over local access with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-52988 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-52988?
- CVE-2025-52988 primarily affects Juniper Junos. In total, 100 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-52988?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-52988 have an EU (EUVD) identifier?
- Yes. CVE-2025-52988 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-21167.
- When was CVE-2025-52988 published?
- CVE-2025-52988 was published on 2025-07-11 and last updated on 2026-06-17.
References
Affected products (100)
- cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s8:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.4:r3-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:22.2:r3:*:*:*:*:*:*
More vulnerabilities in Juniper Junos
- CVE-2021-0248 — Critical (CVSS 10.0): This issue is not applicable to NFX NextGen Software. On NFX Series devices the use of Hard-coded Credentials in…
- CVE-2021-0211 — Critical (CVSS 10.0): An improper check for unusual or exceptional conditions in Juniper Networks Junos OS and Junos OS Evolved Routing…
- CVE-2020-1614 — Critical (CVSS 10.0): A Use of Hard-coded Credentials vulnerability exists in the NFX250 Series for the vSRX Virtual Network Function (VNF)…
- CVE-2017-2343 — Critical (CVSS 10.0): The Integrated User Firewall (UserFW) feature was introduced in Junos OS version 12.1X47-D10 on the Juniper SRX Series…
- CVE-2013-4685 — Critical (CVSS 10.0): Buffer overflow in flowd in Juniper Junos 10.4 before 10.4S14, 11.4 before 11.4R7, 12.1 before 12.1R6, and 12.1X44…
- CVE-2017-2349 — Critical (CVSS 9.9): A command injection vulnerability in the IDP feature of Juniper Networks Junos OS on SRX series devices potentially…
All CVEs affecting Juniper Junos →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-56004 — Critical (CVSS 10.0): A shellcode injection in the mercurial handler of the obs tar_scm source service before version 0.12.4 could be used by…
- CVE-2026-56415 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability within the debug.pl script that is…
- CVE-2026-56413 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability in the ms_service.pl service, which listens…
- CVE-2026-49869 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, AuthenticationFilter in…
- CVE-2026-49261 — Critical (CVSS 10.0): MariaDB server is a community developed fork of MySQL server. Versions 10.6.1 through 10.6.26, 10.11.1 through…
- CVE-2026-10520 — Critical (CVSS 10.0): An OS Command Injection vulnerability in Ivanti Sentry before the R10.5.2, R10.6.2 and R10.7.1 versions allows a…