CVE-2026-134804Portainer authorization bypass through user-controlled key (IDOR)
CVSS score
8.7
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.63%
0.63% chance of exploitation in the next 30 days, higher than 51.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Portainer and compare its version with the affected versions.
Update to a fixed version
- Update Portainer to 2.39.9, 2.45.4, 3.1.0 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| portainer Portainer | ≥ 2.39.0, < 2.39.9 · ≥ 2.40.0, < 2.45.4 · ≥ 3.0.0, < 3.1.0 |
Weakness
- CWE-639 authorization bypass through user-controlled key (IDOR)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-134804 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-134804?
CVE-2026-134804 has a CVSS 4.0 base score of 8.7 (high).
Which versions are affected?
Portainer Portainer (≥ 2.39.0, < 2.39.9; ≥ 2.40.0, < 2.45.4; ≥ 3.0.0, < 3.1.0)
Is there a patch for CVE-2026-134804?
The official record links to vendor advisories or patches; see “What to do” above.
References
- 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
- github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857
- github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f
- github.com/portainer/portainer/releases/tag/2.45.4
- github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg
- 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-authorization-bypass-via-websocket-attach-and-exec
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.