Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
CVE-2026-134804: Portainer lets standard users take over others' containers
CVE-2026-134804 · published 4 days ago
Summary
Versions of Portainer before 2.39.9, before 2.45.4, and before 3.1.0 allow a regular user to connect to another user's containers. This could let someone run commands with full system rights inside those containers. Upgrade to the latest Portainer release as soon as possible to close the gap.
What to do
- Update portainer portainer to version 2.39.9 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| portainer | portainer | < 2.39.9 |
Original advisory text
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.
References
- https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/at... Third Party Advisory
- https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/ex... Third Party Advisory
- https://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966... Patch
- https://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d... Patch
- https://github.com/portainer/portainer/releases/tag/2.45.4 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-1348... Vendor Advisory
- https://github.com/portainer/portainer Product
- https://github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134804 Vendor Advisory
- https://www.vulncheck.com/advisories/portainer-2.39.0-before-2.39.9-2.40.0-befor... Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.4
Critical
Type
CWE-639Authorization Bypass Through User-Controlled Key
Timeline
Published22 Nov 2026
Updated26 Nov 2026
First seen22 Nov 2026
Sources
CVE-2026-134804 · NVD
CVE-2026-134804 · MITRE
CVE-2026-134804 · OSV
GHSA-6c57-xm2f-23fg · GHSA
Track software like this
Free during beta