Skip to main content
EPSS 0.4%top 68%

CVE-2026-61712: CWE-770: Allocation of Resources Without Limits or Throttling in moby buildkit

0
Low
Published: 08/19/2026 (08/19/2026, 20:01:18 UTC)
Source: CVE Database V5
Vendor/Project: moby
Product: buildkit

Description

CVE-2026-61712 is a low-severity vulnerability in moby buildkit prior to version 0.31.1. The issue involves BuildKit reading attacker-controlled /etc/passwd and /etc/group files without limits while resolving user and group identifiers. Maliciously crafted oversized files can exhaust memory and cause the buildkitd process to terminate due to out-of-memory conditions. This vulnerability has been fixed in version 0.31.1.

CVSS v4.0

Score 2.3low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

moby

buildkit

Affected versions
<0.31.1
GitHub Actionsmore threats →ai
moby/buildkit
pkg:github/moby/buildkit
Affected versions
<0.31.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 07:33:27 UTC

Technical Analysis

BuildKit versions before 0.31.1 improperly handle user resolution by reading /etc/passwd and /etc/group files without imposing size limits. An attacker can supply oversized versions of these files via a malicious base image or build context, causing excessive memory consumption and termination of the buildkitd process due to out-of-memory conditions. The flaw is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The issue is resolved in BuildKit version 0.31.1.

Potential Impact

An attacker capable of influencing the base image or build context can cause the buildkitd process to consume excessive memory and terminate unexpectedly. This results in denial of service of the build process. There is no indication of privilege escalation, code execution, or data disclosure from this vulnerability.

Mitigation Recommendations

Upgrade BuildKit to version 0.31.1 or later, where this issue is fixed. No other mitigation is required as the vulnerability is resolved in the official patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-10T18:51:13.920Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a86109dacd9273b4993ac9f

Added to database: 08/19/2026, 20:22:53 UTC

Last enriched: 09/11/2026, 07:33:27 UTC

Last updated: 10/03/2026, 02:46:06 UTC

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses