CVE-2019-13139In Docker before 18.09.4, an attacker who is capable of supplying or manipulating the build path for the "docker build" command would be…
- 8.4HighCVSS base score
- 2.0%Exploitation in 30 daysEPSS · top 19% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In Docker before 18.09.4, an attacker who is capable of supplying or manipulating the build path for the "docker build" command would be able to gain command execution. An issue exists in the way "docker build" processes remote git URLs, and results in command injection into the underlying "git clone" command, leading to code execution in the context of the user executing the "docker build" command. This occurs because git ref can be misinterpreted as a flag.
Timeline
ID reserved
By mitre
- 52 days later
· 52 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.4 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.0% · top 19% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.4.
Affected products
n/a
- affected n/a
References
References7
- https://github.com/moby/moby/pull/38944 (opens in a new tab)x_refsource_MISCx_transferred
- https://docs.docker.com/engine/release-notes/#18094 (opens in a new tab)x_refsource_MISCx_transferred
- https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/ (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4521 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://security.netapp.com/advisory/ntap-20190910-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20190910 [SECURITY] [DSA 4521-1] docker.io security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHBA-2019:3092 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-4672 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-13139)Record last updated .