Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-61711cvecve-2026-61711cwe-20
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 versions prior to 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

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: 08/19/2026, 20:40:47 UTC

Technical Analysis

BuildKit is a toolkit for building software artifacts efficiently. In versions before 0.31.1, a custom frontend could supply an invalid SecurityMode value in a build request. The executor component (specifically in executor/oci/spec_linux.go) treated this unsupported value as if sandboxing was disabled, bypassing Seccomp and AppArmor protections that normally restrict container behavior. Despite this, Linux capabilities restrictions remained in place. 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 can disable Seccomp and AppArmor protections on the build container by providing an invalid SecurityMode value, potentially increasing the attack surface and reducing container isolation. However, Linux capabilities restrictions remain enforced, which limits the scope of the impact. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade BuildKit to version 0.31.1 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating the fix in 0.31.1. No other mitigations are specified.

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
Remediation Level
null

Threat ID: 6a86109dacd9273b4993ac9d

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

Last enriched: 08/19/2026, 20:40:47 UTC

Last updated: 08/19/2026, 20:40:47 UTC

Views: 4

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