Home / Docker / Docker / CVE-2019-13139
CVE-2019-13139: is it exploited, and which versions of Docker are affected and fixed?
CVE-2019-13139 is an OS command injection vulnerability in Docker. 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, 14:38 UTC). Affected: docker before 18.09.4 (NVD). Fixed in 18.09.4 (NVD). Severity: High (8.4, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:20 UTC.
What is CVE-2019-13139?
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.
From the CVE record by mitre, last updated August 4, 2024, 23:41 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| docker | docker | before 18.09.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:16 UTC.
How severe is CVE-2019-13139?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | 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-2019-13139 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.04% probability of exploitation activity in the next 30 days, percentile 81.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/moby/moby/pull/38944 x_refsource_MISC
- https://docs.docker.com/engine/release-notes/#18094 x_refsource_MISC
- https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/ x_refsource_MISC
- DSA-4521 vendor-advisory, x_refsource_DEBIAN
- https://security.netapp.com/advisory/ntap-20190910-0001/ x_refsource_CONFIRM
- 20190910 [SECURITY] [DSA 4521-1] docker.io security update mailing-list, x_refsource_BUGTRAQ
- RHBA-2019:3092 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- July 1, 2019
- Published
- August 22, 2019, 19:47 UTC
- CVE record updated
- August 4, 2024, 23:41 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:16 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:20 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Docker?
- Aug 28, 2019CVE-2019-15752 Docker: incorrect permissions on a critical resource exploited
- Feb 19, 2022CVE-2022-25365 Docker: n/a
- Jan 15, 2021CVE-2021-3162 Docker: improper certificate validation
- Dec 30, 2020CVE-2020-27534 Docker: path traversal (reading or writing files outside the intended folder)
- Jul 13, 2020CVE-2020-14300 Docker: privilege escalation
- Jul 13, 2020CVE-2020-14298 Docker: privilege escalation
- Feb 7, 2020CVE-2014-5278 Docker: n/a
- Dec 2, 2019CVE-2014-9356 Docker: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2019-13139
Is CVE-2019-13139 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 2.04% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Docker are affected by CVE-2019-13139?
docker before 18.09.4, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2019-13139?
18.09.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-13139?
High (8.4, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-13139?
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.