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
HighCVSS 8.7
EPSS 0.63%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Portainer github.com/portainer/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 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Portainer github.com/portainer/portainer | >= 2.39.0, < 2.39.9 | 2.39.9 |
| Portainer github.com/portainer/portainer | >= 2.40.0, < 2.45.4 | 2.45.4 |
| Portainer github.com/portainer/portainer | >= 3.0.0, < 3.1.0 | 3.1.0 |
References
- GitHub Security Advisory (GHSA-6c57-xm2f-23fg) vendor-advisory
- github.com patch
- github.com patch
- Portainer 2.45.4 Release Notes release-notes
- github.com technical-description
- github.com technical-description
- VulnCheck Advisory: 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 third-party-advisory
- ENISA EUVD EUVD-2026-132859 third-party-advisory
- nvd.nist.gov