Home / Juniper Networks / Junos OS Evolved / CVE-2024-39520
CVE-2024-39520: is it exploited, and which versions of Juniper Networks Junos OS Evolved are affected and fixed?
CVE-2024-39520 is an OS command injection vulnerability in Juniper Networks Junos OS Evolved. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Junos OS Evolved before 20.4R3-S6-EVO, Junos OS Evolved from 21.2-EVO before 21.2R3-S4-EVO, Junos OS Evolved from 21.4-EVO before 21.4R3-S6-EVO and 2 more (CVE record by juniper). Fixed in 20.4R3-S6-EVO, 21.2R3-S4-EVO, 21.4R3-S6-EVO, 22.2R2-S1-EVO, 22.2R3-EVO and 1 more (CVE record by juniper). Severity: High (8.5, CVSS 3.1, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-39520?
Junos OS Evolved: CLI parameter processing issue allows privilege escalation
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.
From the CVE record by juniper, last updated August 2, 2024, 04:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 | 20.4R3-S6-EVO, 21.2R3-S4-EVO, 21.4R3-S6-EVO, 22.2R2-S1-EVO, 22.2R3-EVO, 22.3R2-EVO |
As the CVE record by juniper states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juniper | junos os evolved | before 20.4 | operating system |
| juniper | junos os evolved | 20.4 | operating system |
| juniper | junos os evolved | 21.2 | operating system |
| juniper | junos os evolved | 21.4 | operating system |
| juniper | junos os evolved | 22.2 | operating system |
| juniper | junos os evolved | 22.3 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 07:42 UTC.
How severe is CVE-2024-39520?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | juniper |
| High 8.5 | CVSS 4.0 | 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 | juniper |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-39520 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 12, 2024)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
How do I fix it? (from the CVE record)
The following software releases have been updated to resolve this specific issue: 20.4R3-S6-EVO, 21.2R3-S4-EVO, 21.4R3-S6-EVO, 22.2R2-S1-EVO, 22.2R3-EVO, 22.3R2-EVO, 22.4R1-EVO, and all subsequent releases.
Is there a workaround? (from the CVE record)
There are no known workarounds for this issue.
Where are the vendor advisories and references?
- https://supportportal.juniper.net/JSA82975 vendor-advisory
When was it published, and where is the official record?
- Reserved
- June 25, 2024
- Published
- July 11, 2024, 15:56 UTC
- CVE record updated
- August 2, 2024, 04:26 UTC by juniper
- NVD
- Modified, last modified June 17, 2026, 07:42 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Junos OS Evolved?
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
- Oct 14, 2026CVE-2026-101952 Juniper Networks Junos OS: quantity not validated
- Oct 14, 2026CVE-2026-101949 Juniper Networks Junos OS: NULL pointer dereference (crash)
- Oct 14, 2026CVE-2026-101964 Juniper Networks Junos OS: reachable assertion (crash)
- Oct 14, 2026CVE-2026-101963 Juniper Networks Junos OS: incorrect calculation
- Oct 14, 2026CVE-2026-101962 Juniper Networks Junos OS: improper Handling of Length Parameter Inconsistency
- Oct 14, 2026CVE-2026-101961 Juniper Networks Junos OS: NULL pointer dereference (crash)
- Oct 14, 2026CVE-2026-101959 Juniper Networks Junos OS: function Call With Incorrect Variable or Reference as Argument
Questions about CVE-2024-39520
Is CVE-2024-39520 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Juniper Networks Junos OS Evolved are affected by CVE-2024-39520?
Junos OS Evolved before 20.4R3-S6-EVO, Junos OS Evolved from 21.2-EVO before 21.2R3-S4-EVO, Junos OS Evolved from 21.4-EVO before 21.4R3-S6-EVO, Junos OS Evolved from 22.2-EVO before 22.2R2-S1-EVO, 22.2R3-EVO and Junos OS Evolved from 22.3-EVO before 22.3R2-EVO, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2024-39520?
20.4R3-S6-EVO, 21.2R3-S4-EVO, 21.4R3-S6-EVO, 22.2R2-S1-EVO, 22.2R3-EVO and 22.3R2-EVO, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-39520?
High (8.5, CVSS 3.1, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2024-39520?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.