Skip to main content
EPSS 0.4%top 73%

CVE-2026-61711: CWE-20: Improper Input Validation in moby buildkit

0
Medium
Published: 08/19/2026 (08/19/2026, 20:03:38 UTC)
Source: CVE Database V5
Vendor/Project: moby
Product: buildkit

Description

CVE-2026-61711 is an improper input validation vulnerability in moby buildkit prior to version 0.31.1. A crafted build request with an invalid SecurityMode value could cause the build container to run without Seccomp and AppArmor protections, although Linux capabilities remained restricted. This issue is fixed in version 0.31.1.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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:33 UTC

Technical Analysis

BuildKit versions before 0.31.1 allowed a custom frontend to submit a build request containing an invalid SecurityMode value. The executor component (specifically in oci/spec_linux.go) treated this unsupported value as disabling sandbox mode without requiring the security.insecure entitlement. Consequently, Seccomp and AppArmor protections were disabled for the build container, reducing its security posture despite Linux capabilities restrictions still being enforced. This vulnerability is classified as CWE-20 (Improper Input Validation) and has a CVSS 4.0 base score of 5.3 (medium severity). The issue was resolved in BuildKit version 0.31.1.

Potential Impact

An attacker controlling a custom frontend could bypass Seccomp and AppArmor sandbox protections for build containers by supplying an invalid SecurityMode value. This reduces container isolation and security, potentially increasing the risk of container escape or unauthorized actions within the build environment. However, Linux capabilities restrictions remained in place, limiting the overall impact. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade to BuildKit version 0.31.1 or later, where this vulnerability is fixed. No other mitigation is required as the fix is official and addresses the improper input validation issue.

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: 6a86109dacd9273b4993ac9d

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

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

Last updated: 10/03/2026, 14:46:09 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