CVE-2022-22239
CVE-2022-22239 — Junos OS Evolved: The ssh CLI command always runs as root which can lead to privilege escalation
An Execution with Unnecessary Privileges vulnerability in Management Daemon (mgd) of Juniper Networks Junos OS Evolved allows a locally authenticated attacker with low privileges to escalate their privileges on the device and potentially remote systems. This vulnerability allows a locally authenticated attacker with access to the ssh operational command to escalate their privileges on the system to root, or if there is user interaction on the local device to potentially escalate privileges on a remote system to root. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R3-S5-EVO; 21.1-EVO versions prior to 21.1R3-EVO; 21.2-EVO versions prior to 21.2R2-S1-EVO, 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS.
Published Updated Sources: cvelistV5, juniper
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
8.2
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.2 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-250
References
1 on the record
- kb.juniper.net/JSA69895
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2024-38813 VMware vCenter Server Privilege Escalation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-40602 SonicWall SMA1000 Missing Authorization VulnerabilityCVSS 6.6 · CISA KEV
- CVE-2026-87899 Execution with unnecessary privileges in cPanel allows remote authenticated users to execute arbitrary code with root privilegesCVSS 9.4
- CVE-2026-121720 OpenVPN 2.4.0 through 2.6.23 and 2.7_alpha1 through 2.7.8 on Windows allows local authenticated users to execute arbitrary code via a…CVSS 8.5
- CVE-2026-131818 ChargePoint Home Flex busybox Unnecessary Privileges Local Privilege Escalation VulnerabilityCVSS 7.8
- CVE-2025-55002 JupyterLab Desktop: TCC Bypass via Misconfigured Node FusesCVSS 5.5
Elsewhere on this site
- Juniper Networksevery CVE for this vendor
- CWE-250other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.