Home / Docker / Docker Buildx / CVE-2026-121542
CVE-2026-121542: is it exploited, and which versions of Docker Buildx are affected and fixed?
CVE-2026-121542 is a path traversal (reading or writing files outside the intended folder) vulnerability in Docker Buildx. 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, 19:39 UTC). Affected: Docker Buildx from 0.19.0 before 0.38.1 (CVE record by Docker). Fixed in 0.38.1 (CVE record by Docker). Severity: Low (1.8, CVSS 4.0, from Docker).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-121542?
Bake filesystem path entitlements approval can be skipped for path using basename prefix
In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition may expose files accessible to the Buildx client without the expected fs.read approval. Under certain conditions, paths under the same parent directory as the current working directory whose names use the working directory's basename as a prefix can skip the filesystem entitlement check. Exploitation requires specific matching filenames next to the current project directory. Users who run untrusted Bake definitions may be affected. The issue is fixed in v0.38.1.
From the CVE record by Docker, last updated November 4, 2026, 18:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Docker | Docker Buildx | from 0.19.0 before 0.38.1 | 0.38.1 |
As the CVE record by Docker states it, last updated November 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-121542?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 1.8 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | Docker |
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-2026-121542 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 4, 2026)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
How do I fix it? (from the CVE record)
Upgrade Docker Buildx to v0.38.1 or later.
Is there a workaround? (from the CVE record)
Run only trusted Bake definitions until upgrading. Check that Bake definitions do not contain suspicious paths outside trusted directories. The issue requires specific matching filenames next to the current project directory.
Where are the vendor advisories and references?
Who found and reported it?
- hCaptcha security team (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 3, 2026
- Published
- November 3, 2026, 21:59 UTC
- CVE record updated
- November 4, 2026, 18:20 UTC by Docker
- NVD
- Awaiting Analysis, last modified November 6, 2026, 21:40 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Docker Buildx?
- Nov 3, 2026CVE-2026-121541 Docker Buildx: incorrect authorization
- Nov 3, 2026CVE-2026-93325 Docker Buildx: protection mechanism failure
- Oct 5, 2026CVE-2026-103433 Docker Buildx: missing authorization
Questions about CVE-2026-121542
Is CVE-2026-121542 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Docker Buildx are affected by CVE-2026-121542?
Docker Buildx from 0.19.0 before 0.38.1, per the CVE record by Docker. The tables above give every range the sources list.
Which version fixes CVE-2026-121542?
0.38.1, per the CVE record by Docker. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-121542?
Low (1.8, CVSS 4.0, from Docker). The severity table above shows each score with its source.
Where is the official record of CVE-2026-121542?
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.