CVE-2026-34040: Docker/Moby AuthZ Bypass via Oversized API Requests
- Vendors
- DockerMoby Project
CVE-2026-34040 is an authorization bypass vulnerability in Docker Engine and Moby versions before 29.3.1. The authorization middleware omits API request bodies larger than 1 MB when forwarding requests to authorization plugins, while the Docker daemon subsequently processes the complete bodies. Plugins that inspect request bodies may therefore approve operations they would otherwise reject, including creation of privileged containers or containers with prohibited host mounts. The vulnerability represents an incomplete fix for CVE-2024-41110 and affects the middleware rather than a particular AuthZ plugin implementation. Deployments without AuthZ plugins are not affected by this authorization-policy bypass.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attackers can evade body-dependent Docker authorization policies and perform otherwise prohibited container operations. On deployments where the daemon can create privileged containers and expose the host filesystem, exploitation can lead to host compromise, sensitive-file access, credential theft, data modification, and service disruption. Stolen cloud credentials or cluster tokens may enable additional compromise beyond the Docker host. The extent of impact depends on daemon privileges, available container capabilities, and independent isolation controls.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict Docker API access to trusted principals and enforce least privilege. Do not rely on request-body-inspecting AuthZ plugins as the sole security boundary; use independent access restrictions rather than simply removing authorization controls. Rootless mode or user namespace remapping can reduce potential host impact but does not correct the bypass. Review Docker daemon logs for drainBody warnings and audit recent container creation events for unexpected privileged settings or host filesystem mounts.
Remediation
Patch, then assume compromise.
Upgrade Docker Engine or Moby to version 29.3.1 or later, or install a vendor package containing the backported fix. The patch increases the authorization request-body limit to 4 MB, rejects requests exceeding that limit rather than executing them without full authorization inspection, and removes the vulnerable drainBody() handling. Consumers of the Moby v2 Go module should upgrade to 2.0.0-beta.8 or later. Debian 13 installations should update docker.io to 26.1.5+dfsg1-9+deb13u1 or later; Google Container-Optimized OS installations should update app-containers/docker and related packages to 18244.582.80 or later.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-34040 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2026-34040 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-34040?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-34040, the earliest disclosed Jun 7, 2026.
- Is there a patch for CVE-2026-34040?
- Upgrade Docker Engine or Moby to version 29.3.1 or later, or install a vendor package containing the backported fix. The patch increases the authorization request-body limit to 4 MB, rejects requests exceeding that limit rather than executing them without full authorization inspection, and removes the vulnerable drainBody() handling.
- What products are affected by CVE-2026-34040?
- Docker Engine and Moby Project Moby.
- How severe is CVE-2026-34040?
- CVE-2026-34040 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.19% (5th percentile) as of Nov 20, 2026.
Recent activity
71 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.