Incorrect authorization in Buildx - CVE-2026-121542
Published: November 9, 2026
Vulnerability details
The vulnerability allows an attacker supplying an untrusted Bake definition to expose files accessible to a victim's Buildx client without filesystem read approval.
The vulnerability exists due to an incorrect path entitlement check in Buildx Bake for sibling paths whose names start with the current working directory's basename. An attacker supplying an untrusted Bake definition can reference matching paths outside the project directory when those paths exist and the victim runs the definition.