CVE-2018-15664 in Docker
In Docker through 18.06.1-ce-rc2, the API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack with Directory Traversal, giving attackers arbitrary read-write access to the host filesystem with root privileges, because daemon/archive.go does not do archive operations on a frozen files...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Docker | Docker | 17.06.0-ce 17.06.1-ce 17.06.2-ce 17.07.0-ce 17.09.0-ce 17.09.1-ce+13 more17.09.1-ce- 17.10.0-ce 17.11.0-ce 17.12.0-ce 17.12.1-ce 18.01.0-ce 18.02.0-ce 18.03.0-ce 18.03.1-ce 18.04.0-ce 18.05.0-ce 18.06.0-ce 18.06.1-ce |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Docker through 18.06.1-ce-rc2, the API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack with Directory Traversal, giving attackers arbitrary read-write access to the host filesystem with root privileges, because daemon/archive.go does not do archive operations on a frozen filesystem (or from within a chroot).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-15664 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-126006-H |
| CVSS vector | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| Published | 2019-05-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2019. A high severity vulnerability affects Docker systems (CVE-2018-15664). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: In Docker through 18.06.1-ce-rc2, the API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack with Directory Traversal, giving attackers arbitrary read-write access to the host filesystem with root privileges, because daemon/archive.go does not do archive operations on a frozen filesystem (or from within a chroot). CVSS vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.
Questions
What is CVE-2018-15664?
This vulnerability was disclosed in 2019. A high severity vulnerability affects Docker systems (CVE-2018-15664). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-15664?
CVE-2018-15664 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H. EPSS: 3.4%.
Is CVE-2018-15664 actively exploited?
No confirmed active exploitation of CVE-2018-15664 as of 2026-09-25.
How do I remediate CVE-2018-15664?
Priority: MEDIUM.
What systems are affected by CVE-2018-15664?
CVE-2018-15664 affects Docker Docker.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Docker","product":"Docker","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.