docker-socket-proxy fails to properly gate read endpoints in the /containers Docker API namespace when the CONTAINERS environment variable is set. Attackers can use GET requests to /containers/{id}/archive, /containers/{id}/export, /containers/{id}/logs, and /containers/{id}/top to read arbitrary files and download entire container filesystems as tar archives.
https://github.com/Tecnativa/docker-socket-proxy/pull/183
https://github.com/Tecnativa/docker-socket-proxy/issues/182
https://github.com/Tecnativa/docker-socket-proxy/blob/v0.5.0/haproxy.cfg#L49-L61
https://github.com/Tecnativa/docker-socket-proxy
https://gist.github.com/nedlir/e4f52f88a757f02c67db1fd5dd70d732
Published: 2026-08-22
Updated: 2026-08-22
Base Score: 6.1
Vector: CVSS2#AV:A/AC:L/Au:N/C:C/I:N/A:N
Severity: Medium
Base Score: 7.4
Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Severity: High
Base Score: 8.3
Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Severity: High