{"id":"CVE-2026-33791","published":"2026-04-09T21:38:52Z","modified":"2026-04-22T14:48:22Z","title":"Junos OS and Junos OS Evolved: Execution of crafted CLI commands allows for arbitrary shell injection as root","vendor":"Juniper Networks","product":"Junos OS","tier":"tail","description":{"text":"An OS Command Injection vulnerability in the CLI processing of Juniper Networks Junos OS and Junos OS Evolved allows a local, high-privileged attacker executing specific, crafted CLI commands to inject arbitrary shell commands as root, leading to a complete compromise of the system.\n\nCertain 'set system' commands, when executed with crafted arguments, are not properly sanitized, allowing for arbitrary shell injection. These shell commands are executed as root, potentially allowing for complete control of the vulnerable system.\nThis issue affects:\n\nJunos OS: \n\n\n\n  *  all versions before 22.4R3-S8, \n  *  from 23.2 before 23.2R2-S5, \n  *  from 23.4 before 23.4R2-S7, \n  *  from 24.2 before 24.2R2-S2, \n  *  from 24.4 before 24.4R2, \n  *  from 25.2 before 25.2R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  all versions before 22.4R3-S8-EVO, \n  *  from 23.2 before 23.2R2-S5-EVO, \n  *  from 23.4 before 23.4R2-S7-EVO, \n  *  from 24.2 before 24.2R2-S2-EVO, \n  *  from 24.4 before 24.4R2-EVO, \n  *  from 25.2 before 25.2R1-S1-EVO, 25.2R2-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.007,"percentile":0.4867,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://kb.juniper.net/JSA107875","tags":["vendor-advisory"]},{"url":"https://supportportal.juniper.net/JSA107875","tags":["vendor-advisory"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.73},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"juniper","affectedVersions":[{"vendor":"Juniper Networks","product":"Junos OS","versions":["< 22.4R3-S8",">= 23.2, < 23.2R2-S5",">= 23.4, < 23.4R2-S7",">= 24.2, < 24.2R2-S2",">= 24.4, < 24.4R2",">= 25.2, < 25.2R2"]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","versions":["< 22.4R3-S8-EVO",">= 23.2, < 23.2R2-S5-EVO",">= 23.4, < 23.4R2-S7-EVO",">= 24.2, < 24.2R2-S2-EVO",">= 24.4, < 24.4R2-EVO",">= 25.2, < 25.2R1-S1-EVO, 25.2R2-EVO"]}],"solutions":{"items":["The following software releases have been updated to resolve this specific issue: Junos OS 22.4R3-S8, 23.2R2-S5, 23.4R2-S7, 24.2R2-S2, 24.4R2, 25.2R2, 25.4R1, and all subsequent releases. Junos OS Evolved 22.4R3-S8-EVO, 23.2R2-S5-EVO, 23.4R2-S7-EVO, 24.2R2-S2-EVO, 24.4R2-EVO, 25.2R1-S1-EVO, 25.2R2-EVO, 25.4R1-EVO, and all subsequent releases."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["One of the following mitigations will prevent malicious exploitation: * Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators. * Avoid configuring access to any part of the 'set system'​ stanza for non-privileged users."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-13T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21207","exploited":false,"provenance":"source"}}