Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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