# CVE-2019-13509: Secret insertion into debug log in Docker

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.0, NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 3.55% (percentile 90, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-j249-ghv5-7mxv
- **Published:** 2019-07-18T15:34:59.000Z
- **Modified:** 2026-09-10T03:49:33.767Z

## 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)

## 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

- Go `github.com/docker/docker`: affected \< 18.09.8; fixed 18.09.8 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade github.com/docker/docker to 18.09.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://docs.docker.com/engine/release-notes/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFFBVE7O73TAVY2BCWXSA2OOSLJVCPXC/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N674WD3OBDPHLWY6EABRHQH5ON6SUJBU/>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html>
- vendor: <https://www.debian.org/security/2019/dsa-4521>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2019-13509>
- other: <http://www.securityfocus.com/bid/109253>
- other: <https://security.netapp.com/advisory/ntap-20190828-0003/>
- other: <https://seclists.org/bugtraq/2019/Sep/21>
- other: <https://docs.docker.com/engine/release-notes/18.09>

## 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-2019-13509>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j249-ghv5-7mxv> (license: <https://creativecommons.org/licenses/by/4.0/>)

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