cve.bz

CVE-2026-61711 moby buildkit: Improper Input Validation

5.3 mediumEPSS 0.4%Fix available

Medium (5.3) in moby buildkit. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/moby/buildkit 0.31.1.

On this page
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, a custom frontend could place an invalid SecurityMode value in a crafted build request, and executor/oci/spec_linux.go treated the unsupported value as a non-sandbox mode without requiring the security.insecure entitlement. This disabled Seccomp and AppArmor protections for the build container even though Linux capabilities remained restricted. This issue is fixed in version 0.31.1.

Severity

CVSS 4.0

5.3 medium
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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-61711 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-61711?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-61711?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-61711 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
moby buildkit< 0.31.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7236-3392-c5c6Gogithub.com/moby/buildkit<0.31.10.31.1
GO-2026-6255Gogithub.com/moby/buildkit<0.31.10.31.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1SUSE-SU-2026:23625-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1openSUSE-SU-2026:21761-1
Azure Linux3moby-engine25.0.3-20AZL-97032

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In Red Hat environments, this vulnerability is rated as a Moderate impact flaw because, while an unverified build frontend can bypass Seccomp and AppArmor profiles without requiring privileged entitlements, core container boundaries remain enforced through Linux namespaces and restricted capability sets. Exploitation requires processing builds defined by untrusted third-party frontends. In standard Red Hat platforms such as OpenShift and container tooling environments, builds typically execute within governed pipelines and predefined security contexts that constrain potential host impact.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Fix deferred
Compliance Operatorcompliance/openshift-compliance-must-gather-rhel8Fix deferred
Confidential Compute Attestationbuild-of-trustee/trustee-must-gather-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Fix deferred
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-must-gather-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorFix deferred
Logical Volume Manager Storagelvms4/lvms-must-gather-rhel8Fix deferred
Logical Volume Manager Storagelvms4/lvms-must-gather-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-cli-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-discovery-addon-rhel9Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-log-reader-rhel8Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-must-gather-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel8Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-8-rhel8Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-9-rhel9Fix deferred
168 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-61711.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON