{"id":"CVE-2025-52988","published":"2025-07-11T15:11:24Z","modified":"2026-02-26T17:50:44Z","title":"Junos OS and Junos OS Evolved: Privilege escalation to root via CLI command 'request system logout'","vendor":"Juniper Networks","product":"Junos OS","tier":"tail","description":{"text":"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.\n\nWhen 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.\nThis issue affects:\n\nJunos OS: \n\n\n\n  *  all versions before 21.2R3-S9,\n  *  21.4 versions before 21.4R3-S8,\n  *  22.2 versions before 22.2R3-S6,\n  *  22.3 versions before 22.3R3-S3,\n  *  22.4 versions before 22.4R3-S6,\n  *  23.2 versions before 23.2R2-S1,\n  *  23.4 versions before 23.4R1-S2, 23.4R2;\n\n\n\n\nJunos OS Evolved:\n\n\n\n  *  all versions before 22.4R3-S6-EVO,\n  *  23.2-EVO versions before 23.2R2-S1-EVO,\n  *  23.4-EVO versions before 23.4R1-S2-EVO, 23.4R2-EVO.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0061,"percentile":0.43406,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://supportportal.juniper.net/JSA100095","tags":["vendor-advisory"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.68},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"juniper","affectedVersions":[{"vendor":"Juniper Networks","product":"Junos OS","versions":["< 21.2R3-S9",">= 21.4, < 21.4R3-S8",">= 22.2, < 22.2R3-S6",">= 22.3, < 22.3R3-S3",">= 22.4, < 22.4R3-S6",">= 23.2, < 23.2R2-S1",">= 23.4, < 23.4R1-S2, 23.4R2"]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","versions":["< 22.4R3-S6-EVO",">= 23.2-EVO, < 23.2R2-S1-EVO",">= 23.4-EVO, < 23.4R1-S2-EVO, 23.4R2-EVO"]}],"solutions":{"items":["The following software releases have been updated to resolve this specific issue: Junos OS Evolved: 22.4R3-S6-EVO, 23.2R2-S1-EVO, 23.4R1-S2-EVO, 23.4R2-EVO, 24.2R1-EVO, and all subsequent releases; Junos OS: 21.2R3-S9, 21.4R3-S8, 22.2R3-S6, 22.3R3-S3, 22.4R3-S6, 23.2R2-S1, 23.4R1-S2, 23.4R2, 24.2R1, and all subsequent releases."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators. Utilize CLI authorization to disallow execution of the 'request system logout' command."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-12T03:55:15.255474Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21167","exploited":false,"provenance":"source"}}