Home / Juniper Networks / Junos OS / CVE-2018-0052
CVE-2018-0052: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?
CVE-2018-0052 is an authentication bypass (improper authentication) vulnerability in Juniper Networks Junos OS. 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, 09:38 UTC). Affected: Junos OS from 12.1X46 before 12.1X46-D77, Junos OS from 12.3X48 before 12.3X48-D75, Junos OS from 15.1X49 before 15.1X49-D131, 15.1X49-D140 and 15 more (CVE record by juniper). Fixed in 12.1X46-D77, 12.3X48-D75, 15.1X49-D131, 15.1X49-D140, 12.3R12-S10 and 2 more (CVE record by juniper). Severity: High (7.2, CVSS 3.0, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:28 UTC.
What is CVE-2018-0052?
Junos OS: Unauthenticated remote root access possible when RSH service is enabled
If RSH service is enabled on Junos OS and if the PAM authentication is disabled, a remote unauthenticated attacker can obtain root access to the device. RSH service is disabled by default on Junos. There is no documented CLI command to enable this service. However, an undocumented CLI command allows a privileged Junos user to enable RSH service and disable PAM, and hence expose the system to unauthenticated root access. When RSH is enabled, the device is listing to RSH connections on port 514. This issue is not exploitable on platforms where Junos release is based on FreeBSD 10+. Affected releases are Juniper Networks Junos OS: 12.1X46 versions prior to 12.1X46-D77 on SRX Series; 12.3 versions prior to 12.3R12-S10; 12.3X48 versions prior to 12.3X48-D75 on SRX Series; 14.1X53 versions prior to 14.1X53-D47 on QFX/EX Series; 15.1 versions prior to 15.1R4-S9, 15.1R6-S6, 15.1R7; 15.1X49 versions prior to 15.1X49-D131, 15.1X49-D140 on SRX Series; 15.1X53 versions prior to 15.1X53-D59 on EX2300/EX3400 Series; 15.1X53 versions prior to 15.1X53-D67 on QFX10K Series; 15.1X53 versions prior to 15.1X53-D233 on QFX5200/QFX5110 Series; 15.1X53 versions prior to 15.1X53-D471, 15.1X53-D490 on NFX Series; 16.1 versions prior to 16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7; 16.2 versions prior to 16.2R2-S5; 17.1 versions prior to 17.1R1-S7, 17.1R2-S7, 17.1R3; 17.2 versions prior to 17.2R1-S6, 17.2R2-S4, 17.2R3; 17.2X75 versions prior to 17.2X75-D110, 17.2X75-D91; 17.3 versions prior to 17.3R1-S4, 17.3R2-S2, 17.3R3; 17.4 versions prior to 17.4R1-S3, 17.4R2; 18.2X75 versions prior to 18.2X75-D5.
From the CVE record by juniper, last updated September 16, 2024, 20:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Juniper Networks | Junos OS SRX Series | from 12.1X46 before 12.1X46-D77 from 12.3X48 before 12.3X48-D75 from 15.1X49 before 15.1X49-D131, 15.1X49-D140 | 12.1X46-D77, 12.3X48-D75, 15.1X49-D131, 15.1X49-D140 |
| Juniper Networks | Junos OS | from 12.3 before 12.3R12-S10 from 15.1 before 15.1R4-S9, 15.1R6-S6, 15.1R7 from 16.1 before 16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7 from 16.2 before 16.2R2-S5 from 17.1 before 17.1R1-S7, 17.1R2-S7, 17.1R3 from 17.2 before 17.2R1-S6, 17.2R2-S4, 17.2R3 from 17.2X75 before 17.2X75-D110, 17.2X75-D91 from 17.3 before 17.3R1-S4, 17.3R2-S2, 17.3R3 from 17.4 before 17.4R1-S3, 17.4R2 from 18.2X75 before 18.2X75-D5 | 12.3R12-S10, 15.1R4-S9, 15.1R6-S6, 15.1R7, 16.2R2-S5, 17.1R1-S7, 17.1R2-S7, 17.1R3, 17.2R1-S6, 17.2R2-S4, 17.2R3, 17.2X75-D110, 17.2X75-D91, 17.3R1-S4, 17.3R2-S2, 17.3R3, 17.4R1-S3, 17.4R2, 18.2X75-D5 |
| Juniper Networks | Junos OS QFX/EX Series | from 14.1X53 before 14.1X53-D47 | 14.1X53-D47 |
| Juniper Networks | Junos OS EX2300/EX3400 Series | from 15.1X53 before 15.1X53-D59 | 15.1X53-D59 |
| Juniper Networks | Junos OS QFX10K Series | from 15.1X53 before 15.1X53-D67 | 15.1X53-D67 |
| Juniper Networks | Junos OS QFX5200/QFX5110 Series | from 15.1X53 before 15.1X53-D233 | 15.1X53-D233 |
| Juniper Networks | Junos OS NFX Series | from 15.1X53 before 15.1X53-D471, 15.1X53-D490 | 15.1X53-D471, 15.1X53-D490 |
As the CVE record by juniper states it, last updated September 16, 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 | 12.1x46 | operating system |
| juniper | junos | 12.3 | operating system |
| juniper | junos | 12.3x48 | operating system |
| juniper | junos | 14.1x53 | operating system |
| juniper | junos | 15.1 | operating system |
| juniper | junos | 15.1x49 | operating system |
| juniper | junos | 15.1x53 | operating system |
| juniper | junos | 16.1 | operating system |
| juniper | junos | 16.2 | operating system |
| juniper | junos | 17.1 | operating system |
| juniper | junos | 17.2 | operating system |
| juniper | junos | 17.2x75 | operating system |
| juniper | junos | 17.3 | operating system |
| juniper | junos | 17.4 | operating system |
| juniper | junos | 18.2x75 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:29 UTC.
How severe is CVE-2018-0052?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | juniper |
| High 8.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
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-2018-0052 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.85% probability of exploitation activity in the next 30 days, percentile 92.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
How do I fix it? (from the CVE record)
This CLI option has been removed from the fixed Junos releases. The following software releases have been updated to resolve this specific issue: 12.1X46-D77, 12.3R12-S10, 12.3X48-D75, 14.1X53-D47, 15.1R4-S9, 15.1R6-S6, 15.1R7, 15.1X49-D131, 15.1X49-D140, 15.1X53-D233, 15.1X53-D471, 15.1X53-D490, 15.1X53-D59, 15.1X53-D67, 16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7, 16.2R2-S5, 17.1R1-S7, 17.1R2-S7, 17.1R3, 17.2R1-S6, 17.2R2-S4, 17.2R3, 17.2X75-D110, 17.2X75-D91, 17.3R1-S4, 17.3R2-S2, 17.3R3, 17.4R1-S3, 17.4R2, 18.1R1, 18.2R1, 18.2X75-D5, and all subsequent releases.
Is there a workaround? (from the CVE record)
Ensure there is no RSH service listening on port 514. Utilize common security BCPs to limit the exploitable surface by limiting access to network and device to trusted systems, administrators, networks and hosts.
Where are the vendor advisories and references?
- 1041853 vdb-entry, x_refsource_SECTRACK
- https://kb.juniper.net/JSA10886 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- November 16, 2017
- Published
- October 10, 2018, 18:00 UTC
- CVE record updated
- September 16, 2024, 20:52 UTC by juniper
- NVD
- Modified, last modified June 17, 2026, 01:29 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:28 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Junos OS?
- Mar 12, 2025CVE-2025-21590 Juniper Networks Junos OS: improper Isolation or Compartmentalization exploited
- Sep 26, 2023CVE-2023-36851 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36846 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36845 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36844 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36847 Juniper Networks Junos OS: missing authentication for a critical function exploited
- May 4, 2020CVE-2020-1631 Juniper Networks Junos OS: path traversal (reading or writing files outside the intended folder) exploited
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
Questions about CVE-2018-0052
Is CVE-2018-0052 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 4.85% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Juniper Networks Junos OS are affected by CVE-2018-0052?
Junos OS from 12.1X46 before 12.1X46-D77, Junos OS from 12.3X48 before 12.3X48-D75, Junos OS from 15.1X49 before 15.1X49-D131, 15.1X49-D140, Junos OS from 12.3 before 12.3R12-S10, Junos OS from 15.1 before 15.1R4-S9, 15.1R6-S6, 15.1R7, Junos OS from 16.1 before 16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7 and 12 more, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2018-0052?
12.1X46-D77, 12.3X48-D75, 15.1X49-D131, 15.1X49-D140, 12.3R12-S10, 15.1R4-S9, 15.1R6-S6, 15.1R7 and 16.2R2-S5, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-0052?
High (7.2, CVSS 3.0, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2018-0052?
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.