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

High 8.7 Published Updated

Attackers can hijack WebSocket connections to gain interactive shell access in Docker containers via cross-site requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-44985?

CVE-2026-44985 is a high-severity vulnerability in amir20 dozzle, published on 26 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-346

Which versions are affected by CVE-2026-44985?

3 open source packages ship an affected version, including github.com/amir20/dozzle. It affects 1 product.

PackageAffectedFixed in
github.com/amir20/dozzle GoAll versionsNone
github.com/amir20/dozzle GoAll versions to 10.5.1None
github.com/amir20/dozzle GoAll versions to 10.5.1None

Products include Amirraminfar Dozzle.

How do I fix CVE-2026-44985?

Upgrade to a fixed version.

Is CVE-2026-44985 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44985 exists.

Sources

Also known as GHSA-j643-x8pv-8m67, GO-2026-5449.

Is CVE-2026-44985 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free