{"answers":{"affected":"3 open source packages ship an affected version, including github.com/moby/buildkit.","exploited":"There is no known exploitation of CVE-2026-61712 in the wild and no public exploit code.","fix":"Upgrade github.com/moby/buildkit to 0.31.1 or later.","what":"CVE-2026-61712 is a low-severity denial of service vulnerability in moby buildkit, published on 19 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-61712 and fix it if it is affected.\n\nWhat it is: CVE-2026-61712 is a low-severity denial of service vulnerability in moby buildkit, published on 19 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-61712 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/moby/buildkit (Go): affected all versions; fixed in 0.31.1\n- github.com/moby/buildkit (Go): affected all versions; fixed in 0.31.1\n- github.com/moby/buildkit (Go): affected all versions; fixed in 0.31.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-61712/ (Markdown: https://insights.sbomify.com/CVE-2026-61712/index.md)","id":"CVE-2026-61712","markdown":"https://insights.sbomify.com/CVE-2026-61712/index.md","name":"CVE-2026-61712","record":{"aliases":["AZL-97029","ECHO-b91e-82b4-59d9","GHSA-72x6-4j93-7w86","GO-2026-6256","MINI-237g-xfvh-2wjx","MINI-2pjf-v57f-wx3w","MINI-3ccm-jgv2-4mw6","MINI-3mh9-xwj3-888p","MINI-3q75-j58r-mf48","MINI-4fmr-85cf-cq68","MINI-4qj5-978m-63ww","MINI-4qp7-jx4j-qcjp","MINI-553p-h93r-j8rw","MINI-5f5q-2hvr-hp5j","MINI-5gr6-f4vm-x5qr","MINI-66qh-chw4-ppxj","MINI-6fq9-38g7-h23x","MINI-7pvh-57wq-4837","MINI-7r8m-j94h-4pc9","MINI-7x3h-48gh-r9pj","MINI-92gq-r73m-3f9f","MINI-96x8-j5qp-q6jm","MINI-9xc3-46mw-5j4q","MINI-gh85-8j9m-34xq","MINI-h2g6-r686-6vqg","MINI-h8q3-6c23-fvqv","MINI-hc3v-wgc2-5vcg","MINI-hp87-683m-63jr","MINI-jf95-ww4r-hh4g","MINI-m436-vxpv-g89r","MINI-m4j9-9wgv-66gq","MINI-m5h9-2vgc-8gw9","MINI-mfg8-2hwr-5wfr","MINI-p3pm-pwj2-22gh","MINI-pfjm-rwgj-m84r","MINI-pvmx-325j-56m4","MINI-q38r-322m-5jg6","MINI-q555-rj56-pr69","MINI-qm53-8wj3-pm6x","MINI-rqw2-2q59-f46x","MINI-rqwh-j23w-g8qq","MINI-vvhp-75j9-wxr2","MINI-w73q-q6fj-rc27","MINI-w8wx-fp32-v88c","MINI-w968-cgjp-m978","MINI-wvfr-gq75-hph9","MINI-xmp4-2mf3-xgxm"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"BuildKit container builder","requires_auth":"none","summary":"A malicious base image can cause BuildKit to exhaust memory and crash by providing oversized group files during user resolution.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"BuildKit: Possible runtime DoS via unbounded group parsing","id":"CVE-2026-61712","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"FluidSynth: Heap Buffer Overflow in MIDI Player","id":"CVE-2026-61714"},"packages":[{"ecosystem":"Go","fixed":["0.31.1"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/buildkit","purl":null,"source":"GHSA-72x6-4j93-7w86"},{"ecosystem":"Go","fixed":["0.31.1"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","source":"GHSA-72x6-4j93-7w86"},{"ecosystem":"Go","fixed":["0.31.1"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","source":"GO-2026-6256"}],"prev":{"headline":"BuildKit: Custom frontend could bypass Seccomp/AppArmor","id":"CVE-2026-61711"},"products":["buildkit"],"published":"2026-08-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-21","vendors":["moby"]},"summary":"A malicious base image can cause BuildKit to exhaust memory and crash by providing oversized group files during user resolution.","url":"https://insights.sbomify.com/CVE-2026-61712/"}