CVE-2026-121542

Source
https://cve.org/CVERecord?id=CVE-2026-121542
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121542.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-121542
Aliases
  • GHSA-rghq-x9hf-hc3r
Downstream
Published
2026-11-03T21:59:06Z
Modified
2026-11-08T02:30:38Z
Severity
  • 1.8 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Bake filesystem path entitlements approval can be skipped for path using basename prefix
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'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.

Database specific
{
    "cna_assigner":  "Docker",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121542.json"
}
References

Affected packages

Git / github.com/docker/buildx

Affected ranges

Type
GIT
Repo
https://github.com/docker/buildx
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.19.0"
                },
                {
                    "fixed":  "0.38.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v0.*
v0.19.0
v0.20.0-rc1
v0.20.0-rc2
v0.20.0-rc3
v0.21.0-rc1
v0.21.0-rc2
v0.22.0
v0.22.0-rc1
v0.22.0-rc2
v0.23.0-rc1
v0.24.0-rc1
v0.25.0-rc1
v0.26.0-rc1
v0.27.0
v0.27.0-rc1
v0.28.0-rc1
v0.28.0-rc2
v0.29.0-rc1
v0.30.0-rc1
v0.30.0-rc2
v0.31.0
v0.31.0-rc1
v0.31.0-rc2
v0.32.0-rc1
v0.32.0-rc2
v0.33.0
v0.33.0-rc1
v0.34.0-rc1
v0.34.0-rc2
v0.35.0-rc1
v0.35.0-rc2
v0.36.0
v0.36.0-rc1
v0.36.0-rc2
v0.37.0
v0.37.0-rc1
v0.37.0-rc2
v0.38.0-rc1
v0.38.0-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121542.json"