CVE Explorer
CVE-2026-33748
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to version 0.28.1, insufficient validation of Git URL fragment subdir components may allow access to files outside the checked-out Git repository root. Possible access is limited to files on the same mounted filesystem. The issue has been fixed in version v0.28.1 The issue affects only builds that use Git URLs with a subpath component. As a workaround, avoid building Docke
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"buildkit","vendor":"moby","versions":[{"status":"affected","version":"< 0.28.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://docs.docker.com/build/concepts/context/#url-fragments","tags":["x_refsource_MISC"],"url":"https://docs.docker.com/build/concepts/context/#url-fragments"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/references/1
{"name":"https://github.com/moby/buildkit/releases/tag/v0.28.1","tags":["x_refsource_MISC"],"url":"https://github.com/moby/buildkit/releases/tag/v0.28.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/references/2
{"name":"https://github.com/moby/buildkit/security/advisories/GHSA-4vrq-3vrq-g6gg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/moby/buildkit/security/advisories/GHSA-4vrq-3vrq-g6gg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d8030fcdaa2e84362d3cd9e312edde666d24c54cc63f912d152f2a3f5da1bde3 · sha256:95d4ab359bda0573… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.