# BuildKit vulnerable to possible panic when incorrect parameters sent from frontend

Advisory record · `GHSA-9p26-698r-w4hx`

- **Identifiers:** `GHSA-9p26-698r-w4hx` · `CVE-2024-23650` · `GO-2024-2492`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-754](https://cwe.mitre.org/data/definitions/754.html)
- **Tags:** [CWE-754](https://agentprime.io/advisories/tag/cwe-754.md)
- **Published:** 31 Jan 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 31 Jan 2024, 22:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/moby/buildkit` (Go): affected `<0.12.5`; fixed in `0.12.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> BuildKit (github.com/moby/buildkit) versions before 0.12.5 are vulnerable. A malicious BuildKit client or frontend can send a crafted request that crashes the BuildKit daemon with a panic. Upgrade to version 0.12.5 or later; as a workaround, avoid using frontends from untrusted sources.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.011, the 66th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:15 UTC: First seen by agentprime
- 31 Oct 2026, 14:15 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-9p26-698r-w4hx)

## Sources

- [GitHub Advisory Database: GHSA-9p26-698r-w4hx](https://github.com/advisories/GHSA-9p26-698r-w4hx)
- [OSV: GHSA-9p26-698r-w4hx](https://osv.dev/vulnerability/GHSA-9p26-698r-w4hx)
- <https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23650>
- <https://github.com/moby/buildkit/pull/4601>
- <https://github.com/moby/buildkit/commit/481d9c45f473c58537f39694a38d7995cc656987>
- <https://github.com/moby/buildkit/commit/7718bd5c3dc8fc5cd246a30cc41766e7a53c043c>
- <https://github.com/moby/buildkit/commit/83edaef59d545b93e2750f1f85675a3764593fee>
- <https://github.com/moby/buildkit/commit/96663dd35bf3787d7efb1ee7fd9ac7fe533582ae>
- <https://github.com/moby/buildkit/commit/e1924dc32da35bfb0bfdbb9d0fc7bca25e552330>
- <https://github.com/moby/buildkit>
- <https://github.com/moby/buildkit/releases/tag/v0.12.5>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-9p26-698r-w4hx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-9p26-698r-w4hx/>. Everything for agents: <https://agentprime.io/llms.txt>.
