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
Summary
| CVE | CVE-2026-134804 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-22 22:17:34 UTC |
| Updated | 2026-11-22 22:17:34 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.7 HIGH from [email protected]
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
Problem Types: CWE-639 | CWE-639 Authorization Bypass Through User-Controlled Key
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 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:N/E:X/C... |
| 4.0 | CNA | CVSS | 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:N |
| 3.1 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
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
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg | [email protected] | github.com | |
| github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/at... | [email protected] | github.com | |
| github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/ex... | [email protected] | github.com | |
| www.vulncheck.com/advisories/portainer-2.39.0-before-2.39.9-2.40.0-before-2.45.... | [email protected] | www.vulncheck.com | |
| github.com/portainer/portainer/releases/tag/2.45.4 | [email protected] | github.com | |
| github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966... | [email protected] | github.com | |
| github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Zachariah Mithani (AploSec) (en)
CNA: Shahid-BugB (en)
CNA: KutalVolkan (en)
CNA: C-h4ck-0 (en)
CNA: zenniskayy2k4 (en)
CNA: tsug0d (en)
CNA: d3do-23 (en)
CNA: danieltk76 (en)
CNA: rotemkama (en)
CNA: xclow3n (en)
CNA: tao0845 (en)
CNA: huynvi (en)
CNA: k4z01 (en)