CVE-2026-134804
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
CVSS Score
8.8
EPSS Score
0.6%
EPSS Percentile
51th
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.
| CWE | CWE-639 |
| Vendor | portainer |
| Product | portainer |
| Published | Nov 22, 2026 |
| Last Updated | Nov 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for portainer portainer
Be the first to know when new high vulnerabilities affecting portainer portainer are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
Portainer / Portainer
2.39.0 < 2.39.9 2.40.0 < 2.45.4 3.0.0 < 3.1.0
References
github.com: https://github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg github.com: https://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857 github.com: https://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f github.com: https://github.com/portainer/portainer/releases/tag/2.45.4 github.com: https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go#L42-L92 github.com: https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go#L45-L96 vulncheck.com: https://www.vulncheck.com/advisories/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
Credits
Zachariah Mithani (AploSec) Shahid-BugB KutalVolkan C-h4ck-0 zenniskayy2k4 tsug0d d3do-23 danieltk76 rotemkama xclow3n tao0845 huynvi k4z01