CVE-2026-41567
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMoby is an open source container framework. In versions prior to 29.5.1 and in moby/moby v2 prior to v2.0.0-beta.14, when a compressed archive is uploaded to a container via `PUT /containers/{id}/archive` or piped through `docker cp -`, the daemon resolves decompression binaries (such as `xz` or `unpigz`) from the container's filesystem rather than the host's due to incorrect ordering of operations. A malicious container image containing a trojanized decompression binary can achieve arbitrary code execution with full daemon privileges, including host root UID and unrestricted capabilities, when a user uploads a compressed (xz or gzip) archive into that container. This issue is fixed in Docker Engine 29.5.1 and moby/moby v2.0.0-beta.14. Workarounds include only running containers from trusted images, using authorization plugins to restrict access to the `PUT /containers/{id}/archive` endpoint, and avoiding piping compressed archives into containers created from untrusted images
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceWhen compressed archives are uploaded to containers via the Docker API endpoint PUT /containers/{id}/archive or docker cp, the daemon uses decompression binaries from the container's filesystem instead of the host's due to incorrect operation ordering. A malicious container image with a trojanized decompression binary (e.g., xz, unpigz) can achieve arbitrary code execution with full daemon privileges including host root UID and unrestricted capabilities.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- High
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Docker/Moby Engine versionRun `docker version --format '{{.Server.Version}}'` or `dockerd --version` to get the daemon versionAffected if Version is below 29.5.1 for v29.x releases, or below v2.0.0-beta.14 for the v2.x beta line
-
Identify if container archive operations are usedReview logs or audit records for `PUT /containers/{id}/archive` API calls or `docker cp` commands involving .tar.gz, .tar.xz, .tgz, or .txz filesAffected if Compressed archives are being copied into containers from untrusted or potentially compromised sources
-
Inspect container images for suspicious decompression binariesFor containers that receive archives, inspect their filesystems (e.g., `docker exec <container> ls -la /bin/xz /bin/gzip /usr/bin/xz /usr/bin/gzip`) for unexpected modifications or trojanized binariesAffected if Decompression binaries in containers differ from known-good host binaries or show signs of tampering
-
Check daemon privileges and capabilitiesReview Docker daemon's execution context: `ps aux | grep dockerd` and check if it runs with elevated capabilities that could allow container-escaped code to act with host root privilegesAffected if Docker daemon runs with full root privileges and unrestricted capabilities (default configuration)
You are affected if your Docker/Moby version is below 29.5.1 or below v2.0.0-beta.14 AND you use docker cp or the archive API to copy compressed archives into containers, especially from untrusted sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Docker Engine 29.5.1 or moby/moby v2.0.0-beta.14. Alternatively, only use trusted container images, implement authorization plugins to restrict archive upload operations, and avoid piping compressed archives into containers from untrusted sources.
Docker Engine 29.5.1 or moby/moby v2.0.0-beta.14 (depending on product in use)
- Upgrade to Docker Engine version 29.5.1 or later if using Docker Engine
- OR upgrade to moby/moby v2.0.0-beta.14 or later if using the Moby project
- After upgrading, verify the fix by testing archive uploads with compressed (xz/gzip) files to ensure decompression binaries are resolved from the host rather than the container
- As additional security measures (optional): only use trusted container images, implement authorization plugins to restrict the PUT /containers/{id}/archive endpoint, and avoid piping compressed archives into containers from untrusted sources
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-41567 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-41567 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data