# CVE-2026-134804

Portainer auth bypass lets standard users attach/exec into other containers to gain root shells.

- Page: https://www.vulneraibility.com/cve/CVE-2026-134804
- CVSS: 8.7
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.63% (percentile 51.3)
- CISA SSVC: exploitation none, automatable no, technical impact total (assessed 2026-11-23)
- Weakness: CWE-639
- Also known as: GHSA-6c57-xm2f-23fg
- Published: 2026-11-22

## Affected versions

- Portainer: affected >= 2.39.0 and < 2.39.9; >= 2.40.0 and < 2.45.4; >= 3.0.0 and < 3.1.0

A version outside these ranges is not a statement that it is unaffected.

## Impact

Authorization bypass on websocket /api/websocket/attach and /exec lets standard users hijack containers and obtain interactive root shells.

## Action

Immediate action required

## Recommendation

Upgrade to fixed versions (2.39.9+, 2.45.4+, 3.1.0+); restrict Portainer access and rotate container credentials.

## References

- [advisory] https://github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg
- [patch] https://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857
- [patch] https://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f
- [other] https://github.com/portainer/portainer/releases/tag/2.45.4
- [other] https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go#L42-L92
- [other] https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go#L45-L96
- [advisory] 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

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
