Medium [CVE-2026-33791] 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
This medium-severity Juniper Networks advisory covers CVE-2026-33791 affecting Junos OS, Junos OS Evolved, Junos.
Android app · Google Play
Monitor future Juniper Networks CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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.
Certain '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.
This issue affects:
- all versions before 22.4R3-S8,
- from 23.2 before 23.2R2-S5,
- from 23.4 before 23.4R2-S7,
- 23.2
- 23.4
- 24.2
- 24.4
- 25.2
Official advisory · high-confidence parse· fetched 2 months ago·verify at source
- 22.4R3-S8
- 23.2R2-S5
- 23.4R2-S7
- 24.2R2-S2
- 24.4R2
- 25.2R2
- 22.4R3-S8-EVO
- 23.2R2-S5-EVO
- 23.4R2-S7-EVO
- 24.2R2-S2-EVO
- 24.4R2-EVO
- 25.2R1-S1-EVO
Official advisory · high-confidence parse· fetched 2 months ago·verify at source
Mitigation
Upgrade to a fixed release: 22.4R3-S8, 23.2R2-S5, 23.4R2-S7, 24.2R2-S2, 24.4R2, 25.2R2. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 2 months ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.