CVE-2026-121542

    Dashboard / Vulnerabilities / CVE-2026-121542

    CVE-2026-121542

    Published: 3 Nov 2026Last Modified: 8 Nov 2026

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 71c78897192730a2a22f74310f15d0fbf93a157f

    Affected versions

    v0.38.0-rc2
    v0.38.0-rc1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-121542 | CVE-DB