Advisory

GO-2026-5746

Also known as: CVE-2026-41567, GHSA-x86f-5xw2-fm2r

Summary

Docker: 'PUT /containers/{id}/archive' executes container binary on the host in github.com/docker/docker

Details

The Docker daemon's implementation of the "PUT /containers/{id}/archive" endpoint executes a container binary on the host when extracting an archive to a container. On Unix-like systems, this can be exploited if an attacker can control the container's filesystem or the archive being extracted, potentially leading to privilege escalation or host compromise.

The affected code is located in the daemon package, specifically in the containerExtractToDir method of the Daemon struct. This package is part of the Moby daemon's core and is not intended for external use as a library.

Severity

Not rated by the source.

Dates

Published
2026-06-25 22:34 UTC
Modified
2026-07-23 17:45 UTC

Affected packages and fixes

github.com/docker/docker

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/moby/moby

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/moby/moby/v2

Go · All systems

Affected

  • introduced 0, fixed 2.0.0-beta.14 (semver)

Fixed versions

2.0.0-beta.14

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences