Skip to main content

CVE-2026-34040 — Vulnerability in github.com/moby/moby — CVE Details

HIGH

Moby has AuthZ plugin bypass when provided oversized request bodies

Published March 27, 2026Updated September 8, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.17%). Schedule for your next planned update.

Does your project use an affected github.com/moby/moby version?

Paste your go.sum to check it for CVE-2026-34040 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

Summary

A security vulnerability has been detected that allows attackers to bypass authorization plugins (AuthZ) under specific circumstances. The base likelihood of this being exploited is low.

This is an incomplete fix for CVE-2024-41110.

Impact

If you don't use AuthZ plugins, you are not affected.

Using a specially-crafted API request, an attacker could make the Docker daemon forward the request to an authorization plugin without the body. The authorization plugin may allow a request which it would have otherwise denied if the body had been forwarded to it.

Anyone who depends on authorization plugins that introspect the request body to make access control decisions is potentially impacted.

Workarounds

If unable to update immediately:

  • Avoid using AuthZ plugins that rely on request body inspection for security decisions.
  • Restrict access to the Docker API to trusted parties, following the principle of least privilege.

Credits

Resources

Advisory Timeline

  • First published March 27, 2026 (244 days ago).
  • Last revised September 8, 2026 — 164 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/moby/moby to 29.3.1 or later
go get github.com/moby/moby@v29.3.1
Go
Update github.com/moby/moby/v2 to 2.0.0-beta.8 or later
go get github.com/moby/moby/v2@v2.0.0-beta.8

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Go (2).

PackageFixed In
github.com/moby/moby Go · Affected: All versions29.3.1
github.com/moby/moby/v2 Go · Affected: All versions2.0.0-beta.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-34040?
Moby has AuthZ plugin bypass when provided oversized request bodies. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-34040?
CVE-2026-34040 affects github.com/moby/moby and github.com/moby/moby/v2. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34040 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.17%
EPSS percentile: 4

This is a below-median EPSS score — only 4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-x744-4wpc-v9h2
GO-2026-4887

Related CVEs

  • CVE-2024-23652
    CRITICAL

    BuildKit vulnerable to possible host system access from mount stub cleaner

  • CVE-2024-23653
    CRITICAL

    Buildkit's interactive containers API does not validate entitlements check

  • CVE-2026-33747
    HIGH

    BuildKit's Malicious frontend can cause file escape outside of storage root

  • CVE-2026-108262
    HIGH

    DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885

  • CVE-2026-130007
    HIGH

    k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum