Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/amir20/dozzle
  4. ›
  5. CVE-2026-44985

CVE-2026-44985: Dozzle's Cross-Site WebSocket Hijacking (CSWSH) on exec/attach endpointsbypasses authentication

May 11, 2026 (updated June 8, 2026)

The 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) — even when authentication is properly configured.

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.

References

  • github.com/advisories/GHSA-j643-x8pv-8m67
  • github.com/amir20/dozzle/releases/tag/v10.5.2
  • github.com/amir20/dozzle/security/advisories/GHSA-j643-x8pv-8m67
  • nvd.nist.gov/vuln/detail/CVE-2026-44985

Code Behaviors & Features

Detect and mitigate CVE-2026-44985 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 10.5.1

Solution

Unfortunately, there is no solution available yet.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

go/github.com/amir20/dozzle/CVE-2026-44985.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:44 +0000.