CVE-2026-134804Portainer Authorization Bypass Through User-Controlled Key
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 8.7 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.8)
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Portainer >= 2.39.0 and < 2.39.9
- Portainer >= 2.40.0 and < 2.45.4
- Portainer >= 3.0.0 and < 3.1.0
- Portainer 2.39.9
- Portainer 2.45.4
- Portainer 3.1.0
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Portainer and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 22, 2026Published
- Nov 22, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Portainer CVEsYou are reading CVE-2026-134804. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg
- Patchhttps://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857
- Patchhttps://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f
- Referencehttps://github.com/portainer/portainer/releases/tag/2.45.4
- Referencehttps://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go#L42-L92
- Referencehttps://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go#L45-L96
- Referencehttps://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 last checked: Nov 23, 2026 02:10 UTC