36 matches found
NULL Pointer Dereference
Overview Affected versions of this package are vulnerable to NULL Pointer Dereference via the resolveMetadata function in the Git source resolver. An attacker can crash buildkitd by supplying a build definition that resolves metadata for the same Git reference repeatedly: a failed or non-cacheabl...
Symlink Attack
Overview Affected versions of this package are vulnerable to Symlink Attack via the rewriteMetadata function in fsutil’s Unix file writer. A malicious client with access to BuildKit’s control API can send a build request that sets an xattr on a symlink, causing the xattr to be written to the...
Moby BuildKit backlink vulnerability
Versions of Moby BuildKit prior to v0.34.1 contain a post-link vulnerability. This vulnerability arises because a malicious client with access to the BuildKit control API can submit build requests, setting extended attributes on files outside the BuildKit state directory. These attributes may als...
CVE-2026-121520: Moby BuildKit: In BuildKit versions prior to v0.34.1, a malicious client with access to the BuildKit control APIs can submit a build…
In BuildKit versions prior to v0.34.1, a malicious client with access to the BuildKit control APIs can submit a build request that sets an extended attribute on a file outside the BuildKit state directory. Extended attributes in the trusted. or security. namespaces may also be set, potentially...
Improper handling of exceptions in Moby BuildKit
Versions 0.26.0 through 0.34.1 of Moby BuildKit contain an improper exception handling vulnerability. This vulnerability arises when a specific build definition parses metadata referencing the same Git source twice; it may cause the BuildKit daemon to panic and crash, thereby interrupting any...
ROOT-APP-GOBINARY-CVE-2026-33747 CVE-2026-33747 in github.com/moby/buildkit - Patched by Root
Root has patched CVE-2026-33747 in the github.com/moby/buildkit package for Root:Go. Multiple fixed versions available...
ROOT-APP-GOBINARY-CVE-2026-33748 CVE-2026-33748 in github.com/moby/buildkit - Patched by Root
Root has patched CVE-2026-33748 in the github.com/moby/buildkit package for Root:Go. Multiple fixed versions available...
Time-of-check Time-of-use (TOCTOU) Race Condition
Overview Affected versions of this package are vulnerable to Time-of-check Time-of-use TOCTOU Race Condition in the containerd and runc executor run paths. An attacker can make a build succeed, block cleanup, or leave cleanup operating outside the intended rootfs by mutating the injected CA bundl...
Time-of-check Time-of-use (TOCTOU) Race Condition
Overview Affected versions of this package are vulnerable to Time-of-check Time-of-use TOCTOU Race Condition in the containerd and runc executor run paths. An attacker can make a build succeed, block cleanup, or leave cleanup operating outside the intended rootfs by mutating the injected CA bundl...
Improper Validation of Array Index
Overview Affected versions of this package are vulnerable to Improper Validation of Array Index through malformed LLB op validation in the solver’s SourceOp and DiffOp handling. An attacker can crash buildkitd by submitting a crafted LLB definition with an input/dependency count mismatch. The...
Time-of-check Time-of-use (TOCTOU) Race Condition
Overview Affected versions of this package are vulnerable to Time-of-check Time-of-use TOCTOU Race Condition in the containerd and runc executor run paths. An attacker can make a build succeed, block cleanup, or leave cleanup operating outside the intended rootfs by mutating the injected CA bundl...
Time-of-check Time-of-use (TOCTOU) Race Condition
Overview Affected versions of this package are vulnerable to Time-of-check Time-of-use TOCTOU Race Condition in the containerd and runc executor run paths. An attacker can make a build succeed, block cleanup, or leave cleanup operating outside the intended rootfs by mutating the injected CA bundl...
Incorrect Behavior Order: Validate Before Canonicalize
Overview Affected versions of this package are vulnerable to Incorrect Behavior Order: Validate Before Canonicalize through the Source.Identifier path in source/git/source.go and source/git/identifier.go. An attacker can make a build appear to use a different Git remote URL than the one in the...
Memory Allocation with Excessive Size Value
Overview Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value due to unbounded file reads in ReadEntrypoint, dockerIgnorePatterns, and NamedContext.load in frontend/dockerui/config.go and frontend/dockerui/namedcontext.go. An attacker can exhaust buildki...
Memory Allocation with Excessive Size Value
Overview Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value due to unbounded file reads in ReadEntrypoint, dockerIgnorePatterns, and NamedContext.load in frontend/dockerui/config.go and frontend/dockerui/namedcontext.go. An attacker can exhaust buildki...
Improper Validation of Integrity Check Value
Overview Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value via the Snapshot process in source/containerblob/pull.go. An authenticated client with raw LLB access can upload or reference registry or OCI layout blob data that does not match the claimed...
NULL Pointer Dereference
Overview Affected versions of this package are vulnerable to NULL Pointer Dereference due to the ValidateEntitlements function in solver/llbsolver/vertex.go. An attacker can panic the daemon by submitting a build that requests CDI devices when the daemon is started with --cdi-disabled or equivale...
Improper Validation of Integrity Check Value
Overview Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value via unvalidated image layer DiffIDs through the setBlob and snapshot identity handling in cache/blobs.go, cache/metadata.go, and cache/refs.go. An attacker can cause a later build to mount...
Improper Validation of Integrity Check Value
Overview Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value via unvalidated image layer DiffIDs through the setBlob and snapshot identity handling in cache/blobs.go, cache/metadata.go, and cache/refs.go. An attacker can cause a later build to mount...
Unsynchronized Access to Shared Data in a Multithreaded Context
Overview Affected versions of this package are vulnerable to Unsynchronized Access to Shared Data in a Multithreaded Context through the container lifecycle handling in frontend/gateway/container/container.go and frontend/gateway/forwarder/forward.go. A malicious external BuildKit frontend can...