Vulnerability in github.com/moby/moby/v2
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-41567 has been found in github.com/moby/moby/v2.
Attackers can target a specific entry point like PUT /containers/{id}/archive over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 7.2/10.
What to do: upgrade github.com/moby/moby/v2 to 2.0.0-beta.14 or later.
If unsure, ask your IT team or search "github.com/moby/moby/v2 CVE-2026-41567" on the vendor's site.
CVE-2026-41567 (github.com/moby/moby/v2) — CWE-427 / CVSS v3 7.2
Attack vector: local
Attack surface: PUT /containers/{id}/archive
Patched: 2.0.0-beta.14 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-427) exists in github.com/moby/moby/v2. Attackers reach the vulnerable code path via PUT /containers/{id}/archive.
Check the vendor advisory for the affected versions of github.com/moby/moby/v2. Attack surface: PUT /containers/{id}/archive.
Severity: High (CVSS 7.2/10). Confidential information can be exposed externally.
Update to 2.0.0-beta.14.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual PUT /containers/{id}/archive requests with malformed payloads or SQL meta-characters. Run grep -r 'github.com/moby/moby/v2' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'github.com/moby/moby/v2' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/moby/moby/v2を grep し、稼働しているサービス・バージョンを把握する。 -
2
Hunt for indicators of compromisedetect
grep 'PUT /containers/{id}/archive' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
PUT /containers/{id}/archiveへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3
Apply patchpatch
Upgrade github.com/moby/moby/v2 to 2.0.0-beta.14ステージング環境で 2.0.0-beta.14 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4
Post-deployment verificationverify
Replay attack against PUT /containers/{id}/archive on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/moby/moby/v2 |
< 2.0.0-beta.14→ 2.0.0-beta.14 |
2.0.0-beta.14 |
| gogithub.com/docker/docker |
All versions→ Not listed |
Not listed |
| gogithub.com/moby/moby |
All versions→ Not listed |
Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-41567 docker Fix available
- BellSoft Alpaquita BELL-CVE-2026-41567 docker Fix available
- Debian DEBIAN-CVE-2026-41567 docker.io Fix available
- Ubuntu UBUNTU-CVE-2026-41567 docker.io-app, docker.io No fixed version in this record
Original description The description as published by the source.
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
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- package github.com
- report bugzilla.redhat.com
- web github.com
- web security.access.redhat.com