Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-134804

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

Portainer Portainer

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134804: high-severity vulnerability (CVSS 8.7) in Portainer Portainer.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

Portainer Portainer >= 2.39.0, < 2.39.9; Portainer Portainer >= 2.40.0, < 2.45.4; Portainer Portainer >= 3.0.0, < 3.1.0

ProductVersionsFixed in
Portainer Portainer>= 2.39.0, < 2.39.9—
Portainer Portainer>= 2.40.0, < 2.45.4—
Portainer Portainer>= 3.0.0, < 3.1.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-639

Relevant change history

  1. Published

    Preliminary advisory published.