published 22 Nov 2026 · updated 23 Nov 2026
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
8.8HighCVSS 8.8EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.39.9, 2.45.4 and 3.1.0.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| portainer | >=2.39.0 <2.39.9, >=2.40.0 <2.45.4, >=3.0.0 <3.1.0 | 2.39.9, 2.45.4, 3.1.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket