CVE-2026-134804
published high CVSS 4.0 · 8.7Portainer 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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Portainer | — | Portainer2.39.0 to < 2.39.9 · 2.40.0 to < 2.45.4 · 3.0.0 to < 3.1.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Portainer | Portainer | 2.39.0 to < 2.39.9 (affected · semver)2.40.0 to < 2.45.4 (affected · semver)3.0.0 to < 3.1.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-639 Authorization Bypass Through User-Controlled Key
References
7- https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go#L42-L92
- https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go#L45-L96
- https://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857
- https://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f
- Portainer 2.45.4 Release Notes https://github.com/portainer/portainer/releases/tag/2.45.4
- GitHub Security Advisory (GHSA-6c57-xm2f-23fg) https://github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg
- VulnCheck Advisory: 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 https://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
Provider assertions
2VulnCheck · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c6bad7751ea68fd85cee7e072f9f048100741cfc2edff097a1cfd026bfd6f2a2
- Ingested
- 23 Nov 2026, 15:17:36 UTC
- Source record
- Official CVE record