# CVE-2024-39520: Junos OS Evolved: CLI parameter processing issue allows privilege escalation

- Severity: High 8.5 (CVSS:4.0, scored by juniper) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-07-11T15:56:53.855Z
- Modified: 2026-06-17T07:42:06.500Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: juniper

## Description

An Improper Neutralization of Special Elements vulnerability in Juniper Networks Junos OS Evolved commands allows a local, authenticated attacker with low privileges to escalate their privileges to 'root' leading to a full compromise of the system.

The Junos OS Evolved CLI doesn't properly handle command options in some cases, allowing users which execute specific CLI commands with a crafted set of parameters to escalate their privileges to root on shell level.

This issue affects Junos OS Evolved:

  *  All version before 20.4R3-S6-EVO, 
  *  21.2-EVO versions before 21.2R3-S4-EVO,
  *  21.4-EVO versions before 21.4R3-S6-EVO, 
  *  22.2-EVO versions before 22.2R2-S1-EVO, 22.2R3-EVO, 
  *  22.3-EVO versions before 22.3R2-EVO.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS Evolved: before 20.4R3-S6-EVO; from 21.2-EVO before 21.2R3-S4-EVO; from 21.4-EVO before 21.4R3-S6-EVO; from 22.2-EVO before 22.2R2-S1-EVO, 22.2R3-EVO; from 22.3-EVO before 22.3R2-EVO
- juniper junos_os_evolved: from 21.2 before 21.2r3-s4; from 21.4 before 21.4r3-s6; from 22.2 before 22.2r2-s1; from 22.3 before 22.3r2; from 22.2 before 22.2r3; before 20.4r3-s6; before 20.4; 20.4; 21.2; 21.4; 22.2; 22.3

## Every score

- juniper: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- juniper: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://supportportal.juniper.net/JSA82975> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-39520](https://www.cve.org/CVERecord?id=CVE-2024-39520), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-39520](https://nvd.nist.gov/vuln/detail/CVE-2024-39520), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39520 · Whole record: https://cve.day/CVE-2024-39520.json · Rebuilt by cve.day 2026-11-25T22:58:42.789Z
