CVE-2026-33791

Junos OS and Junos OS Evolved: Execution of crafted CLI commands allows for arbitrary shell injection as root

8.4 high EPSS 0.74%

Published 9 Apr 2026 Updated 22 Apr 2026 CNA: juniper

Description

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:

Junos OS:

* all versions before 22.4R3-S8,  * from 23.2 before 23.2R2-S5,  * from 23.4 before 23.4R2-S7,  * from 24.2 before 24.2R2-S2,  * from 24.4 before 24.4R2,  * from 25.2 before 25.2R2;

Junos OS Evolved:

* all versions before 22.4R3-S8-EVO,  * from 23.2 before 23.2R2-S5-EVO,  * from 23.4 before 23.4R2-S7-EVO,  * from 24.2 before 24.2R2-S2-EVO,  * from 24.4 before 24.4R2-EVO,  * from 25.2 before 25.2R1-S1-EVO, 25.2R2-EVO.

Severity (CVSS)

8.4 high CVSS 4.0 from juniper (CNA)
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/V:C/RE:M/U:Amber
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Attack requirements
none: an attack works without special conditions on the target
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability low: what an attacker can read, change or stop beyond it
6.7 medium CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.74%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 13 Apr 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected before 22.4R3-S8
affected from 23.2, before 23.2R2-S5
affected from 23.4, before 23.4R2-S7
affected from 24.2, before 24.2R2-S2
affected from 24.4, before 24.4R2
affected from 25.2, before 25.2R2
Other versions: unaffected
Junos OS Evolved
affected before 22.4R3-S8-EVO
affected from 23.2, before 23.2R2-S5-EVO
affected from 23.4, before 23.4R2-S7-EVO
affected from 24.2, before 24.2R2-S2-EVO
affected from 24.4, before 24.4R2-EVO
affected from 25.2, before 25.2R1-S1-EVO, 25.2R2-EVO
Other versions: unaffected

Is my server affected?

This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2026-33791 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.