Patch Ticker
EnglishEN
Elevated

Portainer WebSocket attach and exec bypass lets users reach others' containers

CVE-2026-134804

Portainer, a container management tool, lets users peek into and control others' containers.

CVE
CVE-2026-134804 (opens in a new tab)
Score
CVSS 8.8
Public date
2026-11-19
First seen
8.8
Products

Mitigation

Update the 2.39 line to 2.39.9, the 2.45 line to 2.45.4, and 3.x to 3.1.0. The 3.0.x line reaches end of life on 2026-11-19 and gets no fix, so move to 3.1.0. If you cannot update now, give shared environment access only to users you fully trust.

Update to at least the version for your product:

  • Portainer 2.39.x (LTS) 2.39.9 or later
  • Portainer 2.45.x (LTS) 2.45.4 or later
  • Portainer 3.x 3.1.0 or later

Summary

The Portainer WebSocket attach and exec handlers (api/http/handler/websocket/attach.go and api/http/handler/websocket/exec.go) skip the per-container access check, so a Standard user with shared environment access can open a root shell in another user's container. Versions from 2.39.0 to before 2.39.9, 2.40.0 to before 2.45.4, and 3.0.0 to before 3.1.0 are affected.

Affected when

  • Standard user with access to a shared environment
  • Knowledge of another user's container or exec ID

3 other Incidents of this product in the last 30 days

Incidents by product: portainer

Other recent Incidents of portainer

All Incidents of 2026-11-23

Read the advisory · github.com (opens in a new tab)