{"id":"CVE-2026-93315","state":"PUBLISHED","title":"BuildKit proxy CA cleanup can be disrupted by build steps","description":"When proxy networking with CA injection is enabled, a build can modify its CA bundle before cleanup. This may cause cleanup to block, operate outside the build rootfs, or fail without failing the build.","publishedAt":"2026-10-05T21:57:08.053Z","updatedAt":"2026-10-06T13:27:23.994Z","severity":{"score":5.8,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:L/SA:N","source":"Docker"},"assigner":"Docker","products":["moby BuildKit"],"affected":[{"vendor":"moby","product":"BuildKit","packageName":"github.com/moby/buildkit","defaultStatus":"unaffected","versions":[{"version":"0.31.0","status":"affected","lessThan":"0.33.1","versionType":"semver"}],"platforms":["Linux"]}],"references":["https://github.com/moby/buildkit/security/advisories/GHSA-2f5p-x9ph-g97x","https://github.com/moby/buildkit/releases/tag/v0.33.1"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93315.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93315","state":"PUBLISHED","datePublished":"2026-10-05T21:57:08.053Z","dateUpdated":"2026-10-06T13:27:23.994Z","assignerShortName":"Docker","assignerOrgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateReserved":"2026-09-17T17:17:25.321Z"},"containers":{"cna":{"title":"BuildKit proxy CA cleanup can be disrupted by build steps","descriptions":[{"lang":"en","value":"When proxy networking with CA injection is enabled, a build can modify its CA bundle before cleanup. This may cause cleanup to block, operate outside the build rootfs, or fail without failing the build."}],"affected":[{"vendor":"moby","product":"BuildKit","packageName":"github.com/moby/buildkit","defaultStatus":"unaffected","versions":[{"version":"0.31.0","status":"affected","lessThan":"0.33.1","versionType":"semver"}],"platforms":["Linux"]}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-2f5p-x9ph-g97x","tags":["vendor-advisory"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.33.1","tags":["patch"]}],"metrics":[{"cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:L/SA:N","baseScore":5.8,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","exploitMaturity":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Docker","orgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateUpdated":"2026-10-05T21:57:08.053Z"},"credits":[{"lang":"en","type":"finder","value":"Zhenchen Wang (Institute of Software, Chinese Academy of Sciences), Shuo Huai, Songlin Zhu, Weijie Liu, and Yan Jia (Nankai University)"}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Avoid using build sources from untrusted locations. Only builds enabling proxy networking for exec steps (either via BuildKitd TOML config or Buildx Rego policy) are affected."}],"value":"Avoid using build sources from untrusted locations. Only builds enabling proxy networking for exec steps (either via BuildKitd TOML config or Buildx Rego policy) are affected."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-06T13:26:31.480821Z","id":"CVE-2026-93315","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-06T13:27:23.994Z"}}]}}}