CVE-2026-33791

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

AllVuln state: AFFECTED

MEDIUM
CVSS
6.7
3.1
EPSS
0.78%
Percentile 57.28%
CISA KEV
Not listed
Published
April 9, 2026
Updated April 22, 2026

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.

Risk details

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
attack vector
L
attack complexity
L
privileges required
H
user interaction
N
scope
U
CWE
CWE-78

What should I do?

Review the vendor remediation for fixed or recommended release 22.4R3-S8-EVO.

Supported product evidence

Juniper Networks · Junos OS Evolved
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
22.4R3-S8-EVO
NOT_AFFECTED · EXACT
22.4R3-S8-EVO
AFFECTED · RANGE
23.2R2-S5-EVO
NOT_AFFECTED · EXACT
23.2R2-S5-EVO
AFFECTED · RANGE
23.4R2-S7-EVO
NOT_AFFECTED · EXACT
23.4R2-S7-EVO
AFFECTED · RANGE
24.2R2-S2-EVO
NOT_AFFECTED · EXACT
24.2R2-S2-EVO
AFFECTED · RANGE
24.4R2-EVO
NOT_AFFECTED · EXACT
24.4R2-EVO
UNKNOWN · UNKNOWN
{"lessThan": "25.2R1-S1-EVO, 25.2R2-EVO", "status": "affected", "version": "25.2", "versionType": "semver"}
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-S8-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2-S5-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2-S7-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 24.2
First fixed: 24.2R2-S2-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 24.4
First fixed: 24.4R2-EVO
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
22.4R3-S8
NOT_AFFECTED · EXACT
22.4R3-S8
AFFECTED · RANGE
23.2R2-S5
NOT_AFFECTED · EXACT
23.2R2-S5
AFFECTED · RANGE
23.4R2-S7
NOT_AFFECTED · EXACT
23.4R2-S7
AFFECTED · RANGE
24.2R2-S2
NOT_AFFECTED · EXACT
24.2R2-S2
AFFECTED · RANGE
24.4R2
NOT_AFFECTED · EXACT
24.4R2
AFFECTED · RANGE
25.2R2
NOT_AFFECTED · EXACT
25.2R2
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2-S7
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 24.2
First fixed: 24.2R2-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 24.4
First fixed: 24.4R2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 25.2
First fixed: 25.2R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
22.4R3-S8-EVO
AFFECTED · RANGE
23.2 → 23.2R2-S5-EVO
AFFECTED · RANGE
23.4 → 23.4R2-S7-EVO
AFFECTED · RANGE
24.2 → 24.2R2-S2-EVO
AFFECTED · RANGE
24.4 → 24.4R2-EVO
AFFECTED · RANGE
25.2 → 25.2R1-S1-EVO, 25.2R2-EVO

Remediation

UNKNOWN
Release train: 22.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 24.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 24.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 25.2
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
22.4R3-S8
AFFECTED · RANGE
23.2 → 23.2R2-S5
AFFECTED · RANGE
23.4 → 23.4R2-S7
AFFECTED · RANGE
24.2 → 24.2R2-S2
AFFECTED · RANGE
24.4 → 24.4R2
AFFECTED · RANGE
25.2 → 25.2R2

Remediation

UNKNOWN
Release train: 22.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 24.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 24.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 25.2
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.