CVE-2019-13509
Secret insertion into debug log in Docker
Also known as GHSA-j249-ghv5-7mxv
Mitigation
- Upgrade github.com/docker/docker to 18.09.8 or later.
Who should check
- Projects that depend on Go package github.com/docker/docker (< 18.09.8)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- github.com/docker/docker < 18.09.8
- Fixed in
- 18.09.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 3.55% chance of exploitation in 30 days (percentile 90, 2026-11-26)
- CWE
- CWE-532
- Modified
Description
In Docker CE and EE before 18.09.8 (as well as Docker EE before 17.06.2-ee-23 and 18.x before 18.03.1-ee-10), Docker Engine in debug mode may sometimes add secrets to the debug log. This applies to a scenario where docker stack deploy is run to redeploy a stack that includes (non external) secrets. It potentially applies to other API users of the stack API if they resend the secret.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/docker/docker | < 18.09.8 | 18.09.8 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-13509. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-13509.md Affected: github.com/docker/docker < 18.09.8 Fixed in: 18.09.8 Steps: 1. Search this machine and project for github.com/docker/docker (Go), n/a: 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.
References
Vendor advisories
- https://docs.docker.com/engine/release-notes/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFFBVE7O73TAVY2BCWXSA2OOSLJVCPXC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N674WD3OBDPHLWY6EABRHQH5ON6SUJBU/
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html
- https://www.debian.org/security/2019/dsa-4521
- https://nvd.nist.gov/vuln/detail/CVE-2019-13509
FAQ
Is CVE-2019-13509 being exploited?
There is no confirmed exploitation: CVE-2019-13509 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-13509?
High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2019-13509?
github.com/docker/docker < 18.09.8.
Is there a fix for CVE-2019-13509?
Yes. Fixed in 18.09.8. Upgrade github.com/docker/docker to 18.09.8 or later.
How do I check if I'm affected by CVE-2019-13509?
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.