Uncontrolled Search Path (DLL Hijack)Weakness · CWE-427

CVE-2026-41567

HIGH · 7.2 CVSS v3.1 Published 2026-06-05
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
72/100
Remediation priority · Elevated

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 · unedited
Moby 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 confidence

When 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Check Docker/Moby Engine version
    Run `docker version --format '{{.Server.Version}}'` or `dockerd --version` to get the daemon version
    Affected if Version is below 29.5.1 for v29.x releases, or below v2.0.0-beta.14 for the v2.x beta line
  2. Identify if container archive operations are used
    Review logs or audit records for `PUT /containers/{id}/archive` API calls or `docker cp` commands involving .tar.gz, .tar.xz, .tgz, or .txz files
    Affected if Compressed archives are being copied into containers from untrusted or potentially compromised sources
  3. Inspect container images for suspicious decompression binaries
    For 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 binaries
    Affected if Decompression binaries in containers differ from known-good host binaries or show signs of tampering
  4. Check daemon privileges and capabilities
    Review 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 privileges
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix High confidence

Docker Engine 29.5.1 or moby/moby v2.0.0-beta.14 (depending on product in use)

  1. Upgrade to Docker Engine version 29.5.1 or later if using Docker Engine
  2. OR upgrade to moby/moby v2.0.0-beta.14 or later if using the Moby project
  3. 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
  4. 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.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA1.0 h
10.0 hours of engineering $1,750
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-41567 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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