Portainer
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
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.39.0, < 2.39.9
- >= 2.40.0, < 2.45.4
- >= 3.0.0, < 3.1.0
Fixed in 2.39.9, 2.45.4, 3.1.0
Mitigation
Upgrade Portainer to 2.39.9 or 2.45.4 or 3.1.0 or later.
References
- Vendor advisory github.com/portainer/portainer/security/adviso…
- Patch github.com/portainer/portainer/commit/52f82e7c…
- Patch github.com/portainer/portainer/commit/d817b876…
1 more
- Release notes github.com/portainer/portainer/releases/tag/2.…
Timeline
Days relative to CVE publicationFirst public PoC 15 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-134804 (created 23 Nov 2026, found by us: 23 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-134804 | 23 Nov 2026 +15 h | 23 Nov 2026 | 0 | Scanner |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.