Intel

AIKIDO-2026-236579

github.com/moby/buildkit is vulnerable to Argument Injection

CVE-2026-15793Published Aug 11, 2026
August 11, 2026

62

CVE Score

Medium

Argument Injection

Are you affected? Scan for Free

TL;DR

When checking out Git sources, BuildKit lets custom frontends or raw low-level API clients set git.checkoutbundle=true. A malicious Git source combined with that option produces a crafted command invocation on the host during checkout. This can lead to argument injection and execution of unintended commands. The fix neutralizes the bundle checkout arguments.

How do I fix this?

Upgrade the github.com/moby/buildkit library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you allow untrusted parties to use a custom frontend that checks out Git sources from bundle files.

Versions

0.30.0 - 0.31.1

Fixed in 0.31.2

Background info

github.com/moby/buildkit is vulnerable to Argument Injection in versions 0.30.0 - 0.31.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea