UBUNTU-CVE-2026-121542 (CVE-2026-121542)
Vulnerability from osv_ubuntu – Published: 2026-11-03 22:19 – Updated: 2026-11-03 22:19 – Source websiteIn 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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker.io",
"binary_version": "18.09.7-0ubuntu1~16.04.9+esm2"
},
{
"binary_name": "golang-docker-dev",
"binary_version": "18.09.7-0ubuntu1~16.04.9+esm2"
},
{
"binary_name": "golang-github-docker-docker-dev",
"binary_version": "18.09.7-0ubuntu1~16.04.9+esm2"
},
{
"binary_name": "vim-syntax-docker",
"binary_version": "18.09.7-0ubuntu1~16.04.9+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "docker.io",
"purl": "pkg:deb/ubuntu/docker.io@18.09.7-0ubuntu1~16.04.9+esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6.2~dfsg1-1ubuntu4",
"1.10.2-0ubuntu3",
"1.10.2-0ubuntu4",
"1.10.3-0ubuntu1",
"1.10.3-0ubuntu4",
"1.10.3-0ubuntu5",
"1.10.3-0ubuntu6",
"1.11.2-0ubuntu5~16.04",
"1.12.1-0ubuntu13~16.04.1",
"1.12.3-0ubuntu4~16.04.2",
"1.12.6-0ubuntu1~16.04.1",
"1.13.1-0ubuntu1~16.04.2",
"17.03.2-0ubuntu2~16.04.1",
"18.06.1-0ubuntu1~16.04.2",
"18.06.1-0ubuntu1.2~16.04.1",
"18.09.2-0ubuntu1~16.04.1",
"18.09.5-0ubuntu1~16.04.2",
"18.09.7-0ubuntu1~16.04.1",
"18.09.7-0ubuntu1~16.04.4",
"18.09.7-0ubuntu1~16.04.5",
"18.09.7-0ubuntu1~16.04.6",
"18.09.7-0ubuntu1~16.04.7",
"18.09.7-0ubuntu1~16.04.9+esm1",
"18.09.7-0ubuntu1~16.04.9+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker.io",
"binary_version": "20.10.21-0ubuntu1~18.04.3+esm3"
},
{
"binary_name": "golang-docker-dev",
"binary_version": "20.10.21-0ubuntu1~18.04.3+esm3"
},
{
"binary_name": "golang-github-docker-docker-dev",
"binary_version": "20.10.21-0ubuntu1~18.04.3+esm3"
},
{
"binary_name": "vim-syntax-docker",
"binary_version": "20.10.21-0ubuntu1~18.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "docker.io",
"purl": "pkg:deb/ubuntu/docker.io@20.10.21-0ubuntu1~18.04.3+esm3?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-0ubuntu6",
"17.03.2-0ubuntu1",
"17.03.2-0ubuntu3",
"17.03.2-0ubuntu5",
"17.12.1-0ubuntu1",
"18.06.1-0ubuntu1~18.04.1",
"18.06.1-0ubuntu1.2~18.04.1",
"18.09.2-0ubuntu1~18.04.1",
"18.09.5-0ubuntu1~18.04.2",
"18.09.7-0ubuntu1~18.04.1",
"18.09.7-0ubuntu1~18.04.3",
"18.09.7-0ubuntu1~18.04.4",
"19.03.6-0ubuntu1~18.04.1",
"19.03.6-0ubuntu1~18.04.2",
"19.03.6-0ubuntu1~18.04.3",
"20.10.2-0ubuntu1~18.04.2",
"20.10.2-0ubuntu1~18.04.3",
"20.10.7-0ubuntu1~18.04.1",
"20.10.7-0ubuntu1~18.04.2",
"20.10.7-0ubuntu5~18.04.2",
"20.10.7-0ubuntu5~18.04.3",
"20.10.12-0ubuntu2~18.04.1",
"20.10.21-0ubuntu1~18.04.2",
"20.10.21-0ubuntu1~18.04.3",
"20.10.21-0ubuntu1~18.04.3+esm1",
"20.10.21-0ubuntu1~18.04.3+esm2",
"20.10.21-0ubuntu1~18.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-docker-dev",
"binary_version": "20.10.21-0ubuntu1~20.04.6+esm2"
},
{
"binary_name": "golang-github-docker-docker-dev",
"binary_version": "20.10.21-0ubuntu1~20.04.6+esm2"
},
{
"binary_name": "vim-syntax-docker",
"binary_version": "20.10.21-0ubuntu1~20.04.6+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "docker.io",
"purl": "pkg:deb/ubuntu/docker.io@20.10.21-0ubuntu1~20.04.6+esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"19.03.2-0ubuntu1",
"19.03.6-0ubuntu1",
"19.03.8-0ubuntu1",
"19.03.8-0ubuntu1.20.04",
"19.03.8-0ubuntu1.20.04.1",
"19.03.8-0ubuntu1.20.04.2",
"20.10.2-0ubuntu1~20.04.2",
"20.10.2-0ubuntu1~20.04.3",
"20.10.7-0ubuntu1~20.04.1",
"20.10.7-0ubuntu1~20.04.2",
"20.10.7-0ubuntu5~20.04.1",
"20.10.7-0ubuntu5~20.04.2",
"20.10.12-0ubuntu2~20.04.1",
"20.10.21-0ubuntu1~20.04.1",
"20.10.21-0ubuntu1~20.04.2",
"20.10.21-0ubuntu1~20.04.4",
"20.10.21-0ubuntu1~20.04.5",
"20.10.21-0ubuntu1~20.04.6",
"20.10.21-0ubuntu1~20.04.6+esm1",
"20.10.21-0ubuntu1~20.04.6+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker.io",
"binary_version": "26.1.3-0ubuntu1~20.04.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "docker.io-app",
"purl": "pkg:deb/ubuntu/docker.io-app@26.1.3-0ubuntu1~20.04.1+esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.10.25-0ubuntu1~20.04.1",
"20.10.25-0ubuntu1~20.04.2",
"24.0.5-0ubuntu1~20.04.1",
"24.0.7-0ubuntu2~20.04.1",
"26.1.3-0ubuntu1~20.04.1",
"26.1.3-0ubuntu1~20.04.1+esm1",
"26.1.3-0ubuntu1~20.04.1+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-docker-dev",
"binary_version": "20.10.21-0ubuntu1~22.04.8+esm1"
},
{
"binary_name": "golang-github-docker-docker-dev",
"binary_version": "20.10.21-0ubuntu1~22.04.8+esm1"
},
{
"binary_name": "vim-syntax-docker",
"binary_version": "20.10.21-0ubuntu1~22.04.8+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "docker.io",
"purl": "pkg:deb/ubuntu/docker.io@20.10.21-0ubuntu1~22.04.8+esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.10.7-0ubuntu5",
"20.10.7-0ubuntu7",
"20.10.12-0ubuntu1",
"20.10.12-0ubuntu2",
"20.10.12-0ubuntu3",
"20.10.12-0ubuntu3+gke1.24.1",
"20.10.12-0ubuntu4",
"20.10.21-0ubuntu1~22.04.2",
"20.10.21-0ubuntu1~22.04.3",
"20.10.21-0ubuntu1~22.04.5",
"20.10.21-0ubuntu1~22.04.6",
"20.10.21-0ubuntu1~22.04.7",
"20.10.21-0ubuntu1~22.04.7+esm1",
"20.10.21-0ubuntu1~22.04.7+esm2",
"20.10.21-0ubuntu1~22.04.8",
"20.10.21-0ubuntu1~22.04.8+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker.io",
"binary_version": "29.1.3-0ubuntu3~22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "docker.io-app",
"purl": "pkg:deb/ubuntu/docker.io-app@29.1.3-0ubuntu3~22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.10.25-0ubuntu1~22.04.1",
"20.10.25-0ubuntu1~22.04.2",
"24.0.5-0ubuntu1~22.04.1",
"24.0.7-0ubuntu2~22.04.1",
"26.1.3-0ubuntu1~22.04.1",
"26.1.3-0ubuntu1~22.04.1+esm1",
"27.5.1-0ubuntu3~22.04.1",
"27.5.1-0ubuntu3~22.04.2",
"28.2.2-0ubuntu1~22.04.1",
"29.1.3-0ubuntu3~22.04.1",
"29.1.3-0ubuntu3~22.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-docker-docker-dev",
"binary_version": "20.10.25+dfsg1-2ubuntu1.24.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "docker.io",
"purl": "pkg:deb/ubuntu/docker.io@20.10.25+dfsg1-2ubuntu1.24.04.1+esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.10.24+dfsg1-1ubuntu2",
"20.10.25+dfsg1-2ubuntu1",
"20.10.25+dfsg1-2ubuntu1+esm1",
"20.10.25+dfsg1-2ubuntu1+esm2",
"20.10.25+dfsg1-2ubuntu1.24.04.1",
"20.10.25+dfsg1-2ubuntu1.24.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker.io",
"binary_version": "29.1.3-0ubuntu3~24.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "docker.io-app",
"purl": "pkg:deb/ubuntu/docker.io-app@29.1.3-0ubuntu3~24.04.2?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"24.0.5-0ubuntu1",
"24.0.7-0ubuntu1",
"24.0.7-0ubuntu2",
"24.0.7-0ubuntu3",
"24.0.7-0ubuntu4",
"24.0.7-0ubuntu4.1",
"26.1.3-0ubuntu1~24.04.1",
"26.1.3-0ubuntu1~24.04.1+esm1",
"27.5.1-0ubuntu3~24.04.1",
"27.5.1-0ubuntu3~24.04.2",
"28.2.2-0ubuntu1~24.04.1",
"29.1.3-0ubuntu3~24.04.1",
"29.1.3-0ubuntu3~24.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-docker-docker-dev",
"binary_version": "28.5.2+dfsg4-5ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "docker.io",
"purl": "pkg:deb/ubuntu/docker.io@28.5.2+dfsg4-5ubuntu1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"27.5.1+dfsg4-2ubuntu1",
"28.5.2+dfsg4-5ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker.io",
"binary_version": "29.7.2-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "docker.io-app",
"purl": "pkg:deb/ubuntu/docker.io-app@29.7.2-0ubuntu1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"29.1.3-0ubuntu4",
"29.1.3-0ubuntu5",
"29.1.3-0ubuntu6",
"29.7.2-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-docker-docker-dev",
"binary_version": "27.5.1+dfsg4-2ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "docker.io",
"purl": "pkg:deb/ubuntu/docker.io@27.5.1+dfsg4-2ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"26.1.5+dfsg1-9ubuntu1",
"27.5.1+dfsg4-1ubuntu1",
"27.5.1+dfsg4-2ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker.io",
"binary_version": "29.1.3-0ubuntu4.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "docker.io-app",
"purl": "pkg:deb/ubuntu/docker.io-app@29.1.3-0ubuntu4.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"28.2.2-0ubuntu1",
"29.1.2-0ubuntu1",
"29.1.3-0ubuntu1",
"29.1.3-0ubuntu2",
"29.1.3-0ubuntu3",
"29.1.3-0ubuntu4",
"29.1.3-0ubuntu4.1"
]
}
],
"aliases": [],
"details": "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\u0027s 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.",
"id": "UBUNTU-CVE-2026-121542",
"modified": "2026-11-03T22:19:00Z",
"published": "2026-11-03T22:19:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-121542"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-121542"
},
{
"type": "REPORT",
"url": "https://github.com/docker/buildx/security/advisories/GHSA-rghq-x9hf-hc3r"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-121542"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.