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 WebSoc…
- CVSS
- 8.8High
- Chance of exploitation (EPSS)
- 0.95%
- Published
- Nov 22, 2026
- In the news
- Not yet
What to do
A serious security flaw in Portainer that can be attacked over the network by someone with an account. Exploit code is public, so patch it soon.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 2.39.9, 2.45.4, 3.1.0
Affected versions
- Portainer
- 2.39.0 to before 2.39.9; 2.40.0 to before 2.45.4; 3.0.0 to before 3.1.0
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
Get alerts for these →Timeline 2
Latest change: googlesky/CVE-2026-134804: Portainer (Nov 23, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 23, 2026
- Exploit codegooglesky/CVE-2026-134804: PortainerGitHub (unverified) · 12:45 UTC
Sun, Nov 22, 2026
- CVECVE-2026-134804 published (CVSS 8.8)CVE Program · 21:22 UTC
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
- googlesky/CVE-2026-134804: Portainer
GitHub, unverified · found Nov 23, 2026
References 7
- github.com Patch /portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857
- github.com Patch /portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f
- github.com Vendor Advisory /portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg
- github.com /portainer/portainer/releases/tag/2.45.4
- github.com /portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go#L42-L92
- github.com /portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go#L45-L96
- www.vulncheck.com /advisories/portainer-2.39.0-before-2.39.9-2.40.0-before-2.45.4-and-3.0.0-before-3.1.0-authorizatio…