Skip to content

CVE-2026-44985 Dozzle: Cross-Site WebSocket Hijacking (CSWSH) on exec/attach endpoints bypasses authentication

HighCVSS 8.7 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known

Description

Dozzle is a realtime log viewer for docker containers. Prior to 10.5.2, he WebSocket upgrader for the /exec and /attach endpoints uses CheckOrigin: func(r *http.Request) bool { return true }, accepting upgrade requests from any origin. Combined with the JWT cookie using SameSite: Lax, this enables Cross-Site WebSocket Hijacking (CSWSH). An attacker hosting a page on a same-site origin (e.g., a sibling subdomain, or another service on localhost) can initiate a WebSocket connection to the exec endpoint that carries the victim's valid JWT cookie, gaining interactive shell access in any container the victim is authorized to access. This vulnerability is fixed in 10.5.2.

Affected products

ProductAffected versionsFixed in
amir20 github.com/amir20/dozzle(Go) <= 10.5.1 No fix listed
amir20 github.com/amir20/dozzle(Go) All versions No fix listed
amir20 github.com/amir20/dozzle = < 10.5.2 No fix listed
amirraminfar dozzle < 10.5.2 10.5.2

References