CVE-2026-134804
Received Received - Intake

Authorization Bypass in Portainer via WebSocket Endpoints

Vulnerability report for CVE-2026-134804, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-22

Last updated on: 2026-11-22

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-22
Last Modified
2026-11-22
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
Portainer Portainer From 2.39.0 (inc) to 2.39.9 (exc)
Portainer Portainer From 2.40.0 (inc) to 2.45.4 (exc)
Portainer Portainer From 3.0.0 (inc) to 3.1.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Portainer versions 2.39.0 to 2.39.8, 2.40.0 to 2.45.3, and 3.0.0 to 3.0.9 have an authorization bypass flaw. Standard users can access other users' containers through WebSocket attach and exec endpoints. Attackers with shared environment access can exploit leaked container or exec IDs to hijack sessions via /api/websocket/attach or /api/websocket/exec, gaining root shell access.

Detection Guidance

To detect this vulnerability, check Portainer versions between 2.39.0-2.39.8, 2.40.0-2.45.3, and 3.0.0-3.0.9. Verify if Standard users can access other users' containers via /api/websocket/attach or /api/websocket/exec endpoints. Monitor logs for unauthorized WebSocket connections or container access attempts.

Impact Analysis

If you are a Portainer user with Standard privileges, an attacker with shared environment access could gain control of your containers. This could lead to data theft, unauthorized modifications, or complete system compromise. The impact includes potential loss of sensitive data and disruption of services.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR and HIPAA requirements for data protection and access control. Organizations using affected Portainer versions may face compliance violations, legal penalties, and reputational damage due to potential data breaches.

Mitigation Strategies

Upgrade Portainer to a patched version: 2.39.9 or later, 2.45.4 or later, or 3.1.0 or later. Remove access for Standard users to shared environments if not required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134804. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...