BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, BuildKit read attacker-controlled /etc/passwd and /etc/group files without an upper bound while resolving a username to a user identifier or group identifier in executor/oci/user.go and solver/llbsolver/ops/user_linux.go. A malicious base image or build could provide oversized files that exhausted memory during user resolution and caused out-of-memory termination of the buildkitd process. This issue is fixed in version 0.31.1.
CVE-2026-61712
This low-severity CVE scores 2.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4% (31st percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 2.3
- EG Score
- 2.3LOWmedium confidence
- EG Risk
- 11EG Risk 11/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity23% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.4%
- EPSS %ILE
- 31st
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 19, 2026
Last Modified
September 9, 2026
References (4)
- security-advisories@githubhttps://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1
- security-advisories@githubhttps://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255
- security-advisories@githubhttps://github.com/moby/buildkit/releases/tag/v0.31.1
- security-advisories@githubhttps://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86
Vendor Advisories for CVE-2026-61712(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| github.com/moby/buildkit | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-03 17:22 UTCEG score recompute
- 2026-10-03 17:22 UTCVendor advisory
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 17:56 UTCEPSS rescore
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-30 11:56 UTCEG score recompute
- 2026-09-30 11:56 UTCVendor advisory
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-27 05:57 UTCEG score recompute
- 2026-09-27 05:57 UTCVendor advisory
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-22 20:41 UTCEG score recompute
- 2026-09-22 20:41 UTCVendor advisory
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-19 15:14 UTCEG score recompute
- 2026-09-19 15:14 UTCVendor advisory
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 09:48 UTCEG score recompute
- 2026-09-16 09:48 UTCVendor advisory
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-13 04:03 UTCEG score recompute
Show 30 moreShow fewer
- 2026-09-13 04:03 UTCVendor advisory
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-09 22:35 UTCEG score recompute
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-07 01:15 UTCEG score recompute
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 19:47 UTCEG score recompute
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 14:10 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-28 07:20 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 01:49 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 20:23 UTCEG score recompute
- 2026-08-21 19:20 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 20:19 UTCEG score recompute
- 2026-08-19 20:13 UTCEG score recompute
- 2026-08-19 20:12 UTCMITRE cvelistV5first tracked
Related CVEs(same product + same CWE)
Same product
8 shownGo:github.com/moby/buildkit
Frequently asked(5)
What is CVE-2026-61712?
When was CVE-2026-61712 disclosed?
Is CVE-2026-61712 actively exploited?
What is the CVSS score of CVE-2026-61712?
How do I remediate CVE-2026-61712?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-61712
Is Your Infrastructure Affected by CVE-2026-61712?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.