# CVE-2024-23650: GO-2024-2492 - Panic in github.com/moby/buildkit

Source: https://junglewise.ai/threats/cve-2024-23650-buildkit-vulnerable-to-possible-panic-when-incorrect-parameters  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-12  
License: CC BY 4.0 with a link back

CVE-2024-23650 · Severity: low · CVSS 3.1 · Published 2024-02-12

Panic in github.com/moby/buildkit

Technologies: [github.com/moby/buildkit (Go)](https://junglewise.ai/threats/technologies/github-com-moby-buildkit). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-23650 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-23650 being exploited in the wild.

**How severe is CVE-2024-23650?** Low severity, with a CVSS score of 3.1, published 12 February 2024.

**Which products and versions are affected?** github.com/moby/buildkit (Go) SEMVER:introduced=0,fixed=0.12.5.

**Is there a fix for CVE-2024-23650?** Yes. github.com/moby/buildkit (Go): upgrade to 0.12.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-23650?** Check whether you run github.com/moby/buildkit (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/moby/buildkit (Go): upgrade to 0.12.5 or later

  ```sh
  go get github.com/moby/buildkit@v0.12.5
  ```


## Affected products

- github.com/moby/buildkit (Go) SEMVER:introduced=0,fixed=0.12.5

## Identifiers

- CVE-2024-23650
- GHSA-9p26-698r-w4hx
- GO-2024-2492

## Related threats

- [Moby BuildKit denial of service via unbounded group parsing](https://junglewise.ai/threats/cve-2026-61712-moby-buildkit-denial-of-service-via-unbounded-group-parsing)
- [Moby BuildKit custom frontend security bypass](https://junglewise.ai/threats/cve-2026-61711-moby-buildkit-custom-frontend-security-bypass)
- [GO-2026-4858 - BuildKit's Malicious frontend can cause file escape outside of storage root in github.com/moby/buildkit](https://junglewise.ai/threats/cve-2026-33747-buildkit-s-malicious-frontend-can-cause-file-escape-outside-of)
- [BuildKit Git URL subdir component can cause access to restricted files](https://junglewise.ai/threats/cve-2026-33748-buildkit-git-url-subdir-component-can-cause-access-to-restricted)
- [GO-2024-2493 - Host system file access in github.com/moby/buildkit](https://junglewise.ai/threats/cve-2024-23651-buildkit-vulnerable-to-possible-race-condition-with-accessing)
