Buildx bake requires the user to grant entitlements with --allow or an interactive prompt before a build reaches outside the working directory. Under --progress=rawjson that consent step is skipped.
0.37.2Exploitability
AV:LAC:LAT:PPR:NUI:PVulnerable System
VC:HVI:HVA:LSubsequent System
SC:NSI:NSA:N7.3/CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:NOther