---
title: "CVE-2024-23653: Buildkit's interactive containers API does not validate entitlements check"
url: https://erroneo.us/security/cve/CVE-2024-23653/
description: "CVE-2024-23653 (github.com/moby/buildkit (Go)): BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-01-31
date_modified: 2026-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-23653"
kev: false
cvss: 9.8
epss: 0.03446
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-23653: Buildkit's interactive containers API does not validate entitlements check

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 3.4% , percentile 89: FIRST’s model estimates a 3.4% chance of exploitation activity in the next 30 days, higher than 89% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/moby/buildkit (Go) < 0.12.5, fixed in 0.12.5 . Check your lockfile, including transitive dependencies.
- Editorial verdict: Patch this week. Leaky Vessels: runc Container Escape (CVE-2024-21626) — A real container escape, but it needs you to run an attacker-controlled image or a crafted exec; patch runc everywhere promptly, urgently where untrusted images or multi-tenant builds run.

## What it is

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running containers as build steps, BuildKit also provides APIs for running interactive containers based on built images. It was possible to use these APIs to ask BuildKit to run a container with elevated privileges. Normally, running such containers is only allowed if special security.insecure entitlement is enabled both by buildkitd configuration and allowed by the user initializing the build request. The issue has been fixed in v0.12.5 . Avoid using BuildKit frontends from untrusted sources.

## Affected packages

- Go `github.com/moby/buildkit` < 0.12.5 → fixed: 0.12.5

## Affected products (CVE record)

- moby buildkit: < 0.12.5

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 3.45% probability of exploitation activity in the next 30 days; percentile 89.

## Sources

- [GitHub Advisory GHSA-wr6v-9f75-vh2g](https://github.com/advisories/GHSA-wr6v-9f75-vh2g)
- [CVE.org record CVE-2024-23653](https://www.cve.org/CVERecord?id=CVE-2024-23653)
- [NVD entry CVE-2024-23653](https://nvd.nist.gov/vuln/detail/CVE-2024-23653)
- [github.com](https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g)
- [github.com](https://github.com/moby/buildkit/pull/4602)
- [github.com](https://github.com/moby/buildkit/releases/tag/v0.12.5)
- [github.com](https://github.com/moby/buildkit/commit/5026d95aa3336e97cfe46e3764f52d08bac7a10e)
- [github.com](https://github.com/moby/buildkit/commit/92cc595cfb12891d4b3ae476e067c74250e4b71e)

---
Source page: https://erroneo.us/security/cve/CVE-2024-23653/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
