# CVE-2020-1666: Junos OS Evolved: 'console log-out-on-disconnect' fails to terminate session on console cable disconnection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v3.1, CNA) `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Physical; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-284
- **Published:** 2020-10-16T20:31:28.221Z
- **Modified:** 2026-06-17T03:02:09.350Z

## Who should check

- Anyone running Juniper Networks Junos OS Evolved \>= unspecified, \< 20.2R1-EVO

## Description

The system console configuration option 'log-out-on-disconnect' In Juniper Networks Junos OS Evolved fails to log out an active CLI session when the console cable is disconnected. This could allow a malicious attacker with physical access to the console the ability to resume a previous interactive session and possibly gain administrative privileges. This issue affects all Juniper Networks Junos OS Evolved versions after 18.4R1-EVO, prior to 20.2R1-EVO.

## Affected and fixed versions

- Juniper Networks Junos OS Evolved: \>= unspecified, \< 20.2R1-EVO (cvelist)

## Mitigation

- Upgrade Junos OS Evolved to 20.2R1-EVO or later.
- Vendor workaround: Limit access to the physical console to only trusted system administrators.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-1666. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-1666.md
Affected: Juniper Networks Junos OS Evolved >= unspecified, < 20.2R1-EVO
Fixed in: Juniper Networks Junos OS Evolved 20.2R1-EVO

Steps:
1. Search this machine and project for Juniper Networks Junos OS Evolved: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-1666 being exploited?

There is no confirmed exploitation: CVE-2020-1666 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-1666?

Medium: CVSS 6.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2020-1666?

Juniper Networks Junos OS Evolved \>= unspecified, \< 20.2R1-EVO.

### Is there a fix for CVE-2020-1666?

Yes. Fixed in Juniper Networks Junos OS Evolved 20.2R1-EVO. Upgrade Junos OS Evolved to 20.2R1-EVO or later. Vendor workaround: Limit access to the physical console to only trusted system administrators.

### How do I check if I'm affected by CVE-2020-1666?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://kb.juniper.net/JSA11063>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-1666>

HTML: <https://flawdb.com/CVE-2020-1666> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-1666>
