2026-10-05 21:54CVE-2026-103433Docker
PUBLISHED5.2CWE-862

Bake filesystem entitlement consent is skipped for certain secret and oci-layout definitions

Docker Buildx Bake does not request the expected fs.read approval for certain filesystem inputs. An untrusted Bake definition can expose a readable file through a pathless secret whose ID is interpreted as a client-side pathname, or consume a local OCI image layout outside the project after entitlement validation checks a different path representation. Users who run untrusted Bake definitions are affected.

Problem type

Affected products

Docker

Docker Buildx

< 0.37.2 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-103433
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-103433",
    "assignerOrgId": "686469e6-3ff6-451b-ab8b-cf5b9e89401e",
    "assignerShortName": "Docker",
    "dateUpdated": "2026-10-05T21:54:44.822Z",
    "dateReserved": "2026-09-30T15:33:07.765Z",
    "datePublished": "2026-10-05T21:54:44.822Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "686469e6-3ff6-451b-ab8b-cf5b9e89401e",
        "shortName": "Docker",
        "dateUpdated": "2026-10-05T21:54:44.822Z"
      },
      "title": "Bake filesystem entitlement consent is skipped for certain secret and oci-layout definitions",
      "descriptions": [
        {
          "lang": "en",
          "value": "Docker Buildx Bake does not request the expected fs.read approval for certain filesystem inputs. An untrusted Bake definition can expose a readable file through a pathless secret whose ID is interpreted as a client-side pathname, or consume a local OCI image layout outside the project after entitlement validation checks a different path representation. Users who run untrusted Bake definitions are affected."
        }
      ],
      "affected": [
        {
          "vendor": "Docker",
          "product": "Docker Buildx",
          "platforms": [
            "Linux",
            "MacOS",
            "Windows"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "0.37.2"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-862: Missing Authorization",
              "cweId": "CWE-862",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/docker/buildx/security/advisories/GHSA-p54p-jq4x-rc28",
          "tags": [
            "vendor-advisory"
          ]
        },
        {
          "url": "https://github.com/docker/buildx/releases/tag/v0.37.2",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://github.com/docker/buildx",
          "tags": [
            "product"
          ]
        },
        {
          "url": "https://docs.docker.com/build/bake/reference/#targetentitlements",
          "tags": [
            "technical-description"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "workarounds": [
        {
          "lang": "en",
          "value": "Run only trusted Bake definitions until upgrading to v0.37.2 or later. Review Bake definitions for secrets without an explicit source and for local OCI layout contexts."
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Artem Lytkin",
          "type": "finder"
        }
      ]
    }
  }
}