# CVE-2026-134804: 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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Published: 2026-11-22T21:22:31.892Z
- Modified: 2026-11-23T15:17:40.320Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Portainer Portainer: from 2.39.0 before 2.39.9; from 2.40.0 before 2.45.4; from 3.0.0 before 3.1.0

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg> (vendor-advisory)
- <https://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857> (patch)
- <https://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f> (patch)
- <https://github.com/portainer/portainer/releases/tag/2.45.4> (release-notes)
- <https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go#L42-L92> (technical-description)
- <https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go#L45-L96> (technical-description)
- <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> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134804](https://www.cve.org/CVERecord?id=CVE-2026-134804), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134804](https://nvd.nist.gov/vuln/detail/CVE-2026-134804), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134804 · Whole record: https://cve.day/CVE-2026-134804.json · Rebuilt by cve.day 2026-11-25T22:59:52.608Z
