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
Source GCVE Database
Not known to be exploited · CVSS 8.7 High · fixed in 3.1.0 : patch Portainer soon.
Data as of 23 Nov 2026, 01:22 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.8 |
- Patch
- Available – fixed in 3.1.0, 2.45.4, 2.39.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade Portainer to 3.1.0, 2.45.4 or 2.39.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PortainerPortainer | Affected
| Fixed in
|
| PortainerPortainer | Affected
| Fixed in
|
| PortainerPortainer | Affected
| Fixed in
|
GoPortainerpkg:golang/PortainerOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Fixed versions are available: 2.39.9 and later for the 2.39.x branch, 2.45.4 and later for the 2.40.x branch, and 3.1.0 and later for the 3.0.x branch. Users should upgrade to these versions to remediate the vulnerability. No vendor advisory content was provided to indicate alternative mitigations or if the issue is already mitigated by configuration changes.
Description
Portainer versions 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0 have an authorization bypass vulnerability. This flaw allows Standard users to access containers belonging to other users via WebSocket attach and exec endpoints. Attackers with access to a shared environment can hijack sessions by using leaked container or exec IDs, potentially gaining interactive root shell access.
References
- github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-134804 (opens in a new tab)
- github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857 (opens in a new tab)
- github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f (opens in a new tab)
- github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go (opens in a new tab)
- github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go (opens in a new tab)
- github.com/portainer/portainer/releases/tag/2.45.4 (opens in a new tab)
- 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-authorization-bypass-via-websocket-attach-and-exec (opens in a new tab)