CVE-2020-27534: Path Traversal in Moby builder
util/binfmtmisc/check.go in Builder in Docker Engine before 19.03.9 calls os.OpenFile with a potentially unsafe qemu-check temporary pathname, constructed with an empty first argument in an ioutil.TempDir call.
Published Jan 31, 2024 · Updated Apr 22, 2024
Affected packages
github.com/moby/moby
- Ecosystem
- Go
- Affected
- < 19.03.9
- Fixed in
- 19.03.9
- Check
go list -m github.com/moby/moby
github.com/docker/docker
- Ecosystem
- Go
- Affected
- < 19.03.9
- Fixed in
- 19.03.9
- Check
go list -m github.com/docker/docker
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
util/binfmt_misc/check.go in Builder in Docker Engine before 19.03.9 calls os.OpenFile with a potentially unsafe qemu-check temporary pathname, constructed with an empty first argument in an ioutil.TempDir call.
Credited to neersighted.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-41567
Docker: `PUT /containers/{id}/archive` executes container binary on the host
high7.2No fixMay 18, 2026CVE-2026-41568
Docker: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap
medium6.1No fixMay 18, 2026CVE-2026-42306
Docker: Race condition in docker cp allows bind mount redirection to host path
high7.2No fixMay 18, 2026CVE-2026-33997
Moby has an Off-by-one error in its plugin privilege validation
medium6.8No fixMar 27, 2026CVE-2026-34040
Moby has AuthZ plugin bypass when provided oversized request bodies
high8.8Mar 27, 2026CVE-2025-54388
Moby firewalld reload makes published container ports accessible from remote hosts
medium4.6Jul 29, 2025
