CVE-2024-23653 — Vulnerability in github.com/moby/buildkit — CVE...
Buildkit's interactive containers API does not validate entitlements check
Summary
Advisory Timeline
- First published January 31, 2024 (985 days ago).
- Last revised September 10, 2026 — 952 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/moby/buildkit@v0.12.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/moby/buildkit | go | All versions | 0.12.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-863Incorrect AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2gWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23653ADVISORY
- https://github.com/moby/buildkit/pull/4602WEB
- https://github.com/moby/buildkit/commit/5026d95aa3336e97cfe46e3764f52d08bac7a10eWEB
- https://github.com/moby/buildkit/commit/92cc595cfb12891d4b3ae476e067c74250e4b71eWEB
- https://github.com/moby/buildkitPACKAGE
- https://github.com/moby/buildkit/releases/tag/v0.12.5WEB
Frequently Asked Questions
- What is CVE-2024-23653?
- Buildkit's interactive containers API does not validate entitlements check This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-23653?
- CVE-2024-23653 affects github.com/moby/buildkit. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-23653 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2024-23652CRITICAL
BuildKit vulnerable to possible host system access from mount stub cleaner
- CVE-2026-107806CRITICAL
Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite
- CVE-2026-68582CRITICAL
Vikunja: Link-share token reads any tenant's kanban buckets and enumerates usernames/IDs instance-wide (BOLA)
- CVE-2026-33747HIGH
BuildKit's Malicious frontend can cause file escape outside of storage root
- CVE-2026-34040HIGH
Moby has AuthZ plugin bypass when provided oversized request bodies
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies