Missing Authorization Affecting github.com/docker/buildx/commands package, versions >=0.21.0 <0.37.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMDOCKERBUILDXCOMMANDS-22478806
  • published12 Nov 2026
  • disclosed3 Nov 2026
  • creditJabr Al-Otaibi

Introduced: 3 Nov 2026

NewCVE-2026-93325  (opens in a new tab)
CWE-693  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade github.com/docker/buildx/commands to version 0.37.2 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization via the runBake entitlement check in commands/bake.go. An attacker can cause a user who runs an untrusted bake definition with --progress=rawjson to build with filesystem access outside the working directory without granting the required entitlements, allowing the build to read or write files without consent.

Notes

  • Filesystem-entitlement gate: the bypass matters when Buildx’s filesystem entitlement checks are enabled; BUILDX_BAKE_ENTITLEMENTS_FS=0 disables those checks, so no filesystem-consent gate is being skipped in that configuration.

Workarounds

  • Do not run docker buildx bake --progress=rawjson on untrusted definitions; use another progress mode to keep the entitlement-consent check in place.

CVSS Base Scores

version 4.0
version 3.1