# CVE-2020-27534: Path Traversal in Moby builder

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.77%, higher than 78% of CVEs (2026-12-01)
- Published: 2020-12-30T22:28:10.000Z
- Modified: 2026-09-10T03:50:09.240Z
- Also known as: GHSA-6hwg-w5jg-9c6x
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/moby/moby (Go): before 19.03.9
- github.com/docker/docker (Go): before 19.03.9
- docker docker: before 19.03.9

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/moby/buildkit/pull/1462> (third-party-advisory, web)
- <https://github.com/moby/moby/pull/40877> (third-party-advisory, web)
- <http://web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes/> (release-notes, third-party-advisory)
- <https://golang.org/pkg/io/ioutil/#TempDir> (third-party-advisory)
- <https://golang.org/pkg/os/#TempDir> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-27534> (advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1921154> (web)
- <http://web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes> (web)

## Sources

- CVE List: [CVE-2020-27534](https://www.cve.org/CVERecord?id=CVE-2020-27534), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6hwg-w5jg-9c6x](https://github.com/advisories/GHSA-6hwg-w5jg-9c6x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-27534](https://nvd.nist.gov/vuln/detail/CVE-2020-27534), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27534 · Whole record: https://cve.day/CVE-2020-27534.json · Rebuilt by cve.day 2026-11-25T22:57:56.622Z
