CVE-2026-134804 PUBLISHED

Portainer 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0 Authorization Bypass via WebSocket Attach and Exec

Assigner: VulnCheck
Reserved: 22.11.2026 Published: 22.11.2026 Updated: 22.11.2026

Portainer 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0 contains an authorization bypass vulnerability that allows Standard users to access other users' containers via the WebSocket attach and exec endpoints. Attackers with shared environment access can use leaked container or exec IDs to hijack sessions over /api/websocket/attach or /api/websocket/exec, gaining interactive root shells.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor Portainer
Product Portainer
Versions Default: unaffected
  • affected from 2.39.0 to 2.39.9 (excl.)
  • affected from 2.40.0 to 2.45.4 (excl.)
  • affected from 3.0.0 to 3.1.0 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder
  • Shahid-BugB finder
  • KutalVolkan finder
  • C-h4ck-0 finder
  • zenniskayy2k4 finder
  • tsug0d finder
  • d3do-23 finder
  • danieltk76 finder
  • rotemkama finder
  • xclow3n finder
  • tao0845 finder
  • huynvi finder
  • k4z01 finder

References

Problem Types

  • Authorization Bypass Through User-Controlled Key CWE