home / blog
2026-11-23 · high
CVE-2026-134804: Authorization Bypass Vulnerability in Portainer
Authorization vulnerability in Portainer allows unauthorized access to containers via WebSocket

CVE-2026-134804 is an authorization bypass vulnerability in Portainer that allows Standard users to access other users' containers via the WebSocket /api/websocket/attach and /api/websocket/exec endpoints. Attackers with shared environment access can use leaked container or exec IDs to hijack sessions and gain interactive root shells.
The vulnerability has a CVSS score of 8.8, classified as high severity. According to verified data, there are public repositories containing exploits for this vulnerability. The vulnerability is officially confirmed on the NVD and has been fixed in the latest versions of Portainer.
As defenders, it is recommended to immediately update Portainer instances to patched versions (2.39.9, 2.45.4 or 3.1.0). It is also essential to monitor logs for suspicious activity related to WebSocket endpoints and implement strict access controls to limit access to shared environments.
At a glance
- What
- Authorization bypass that allows Standard users to access other users' containers via the WebSocket attach and exec endpoints
- Severity
- CVSS 8.8 (high)
- Affected versions
- Portainer 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0
- Fix
- Update to Portainer 2.39.9, 2.45.4 or 3.1.0 or later
- Status
- Published on NVD on 2026-11-22
- Action
- Immediately apply patch and verify logs for unauthorized access
Sources: NVD, CVE-2026-134804