CVE-2026-121520
published medium CVSS 4.0 · 4.5Malicious client could set xattr value outside of BuildKit state directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Moby | — | BuildKit0 to < 0.34.1 · Other versions: unaffected | Affected | Not stated | Docker |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-165 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-166 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-134 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3464 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3467 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
| Amazon Linux | AL2 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-166 |
| Amazon Linux | AL2 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-166 |
| Amazon Linux | AL2 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-166 |
| Amazon Linux | AL2023 | dockeraarch64 | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | dockersrc | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | dockerx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3464 |
| Amazon Linux | AL2023 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2023-2026-3464 |
| Amazon Linux | AL2023 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3464 |
Description
In BuildKit versions prior to v0.34.1, a malicious client with access to the BuildKit control APIs can submit a build request that sets an extended attribute on a file outside the BuildKit state directory. Extended attributes in the trusted. or security. namespaces may also be set, potentially giving a program on the host elevated privileges. This issue affects build services that accept build requests from untrusted users. The issue is fixed in v0.34.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.5 / 10
- Severity
- medium
- Provider
- Docker · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
- Scenarios
- en: Host security-label modification
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Moby | BuildKit | 0 to < 0.34.1 (affected · semver)Default: unaffected | Docker · cna |
Weaknesses
1- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
References
1Provider assertions
2Docker · cna
Malicious client could set xattr value outside of BuildKit state directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 79d7cc77f13ae6e1b3616ccbbfec34a6027050a1b534fd50f065ce4fe8b66354
- Ingested
- 07 Nov 2026, 23:40:15 UTC
- Source record
- Official CVE record