CVE-2026-134804 is a high-severity (CVSS 8.8) CWE-639 vulnerability in Portainer Portainer. A fix is available — see the affected versions and patch details below.
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…
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.
Affected Products
PortainerPortainerDetection & mitigation playbook
Vendor / applianceDetect
Inventory every Portainer Portainer deployment and check each version against the affected-products list above.
Fix
Apply the Portainer Portainer security patch or hotfix for CVE-2026-134804 on the affected version, following the vendor advisory for your exact build.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-134804 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.