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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (20th 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 Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDOCKERBUILDXCOMMANDS-20969956
  • published15 Oct 2026
  • disclosed5 Oct 2026
  • creditArtem Lytkin

Introduced: 5 Oct 2026

NewCVE-2026-103433  (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 in the collectLocalPaths function in bake/entitlements.go, which did not resolve local OCI layout context paths and collected read-only secret paths from secret.FilePath rather than the resolved source, so neither contributed an entry to the paths checked for the fs.read entitlement. An attacker can have files readable by the Buildx client exposed to the build without the consent prompt by supplying a Bake definition that declares a build secret carrying only an id naming the target file, which falls back to reading a file of that name, or a build context pointing at a local OCI layout. This requires the user to run a Bake definition the attacker controls.

CVSS Base Scores

version 4.0
version 3.1