Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Portainer Container Authorization Bypass (CVE-2026-134804)

CVE-2026-134804 is an authorization bypass in Portainer's WebSocket container attach and exec functions.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-134804
Vendor
Portainer
Affected Product
Portainer Community Edition and Business Edition
Exploitation
Not confirmed
Published
2026-11-22

A Standard user with access to a shared environment can reach a container owned by another user or team, despite Portainer resource controls. The VulnCheck CNA published the CVE record on 22 November 2026, linking it to Portainer's 19 November advisory.The flaw is an omitted container-level authorization check (CWE-639). Portainer checks access to the environment but does not enforce the target container's ownership rule on these two WebSocket paths. The issue concerns both Community and Business editions on the affected release lines.

What it allows

How Does CVE-2026-134804 Cross Portainer's Container Boundary?

The attacker must authenticate as at least a Standard user and have access to the target environment. Portainer then checks environment access on the WebSocket paths but omits the target container's resource-control check. A user can consequently reach another team's container in that same environment. The advisory also says agent and Edge WebSocket proxies share the gap.

An attach operation targets a container, while an exec operation targets an existing exec session. Portainer says container and exec identifiers can appear in responses visible to an environment user. That means prior knowledge of a target identifier is not always required. The resulting interactive session can expose or alter workload data; host access depends on how the target container was deployed.

This is a cross-tenant risk where teams share a Portainer environment. Prioritize shared environments and containers with elevated privileges or host-level access. That prioritization is our reading of the vendor's impact description. See Vulnerability Intelligence for related product information.

Who is affected

Version Check

Portainer Community Edition and Business Edition
Release LineAffected RangeFixed In
2.39.x2.39.0 to before 2.39.92.39.9
Release ranges source
Portainer Community Edition and Business Edition
Release LineAffected RangeFixed In
2.x2.40.0 to before 2.45.42.45.4
3.x3.0.0 to before 3.1.03.1.0
Release ranges source

For distribution packages and custom builds, check the supplier’s advisory.

Confirm the running Portainer version after upgrade. The 3.0.x line has no in-line fix.

Which Portainer Versions Are Affected by CVE-2026-134804?

Both Portainer Community Edition and Business Edition use the affected release numbering. The authorization risk applies when a Standard user can access an environment containing containers owned by another user or team.

Versions 2.39.0 through 2.39.8 require 2.39.9 or later. Versions 2.40.0 through 2.45.3 require 2.45.4 or later. Versions 3.0.0 through 3.0.x require 3.1.0 or later.

Portainer says 3.0.x reached end of life on 19 November 2026 and received no fix on that line. Releases before 2.39.0 are also end of life. It advises 2.39.x users to move to 2.45.4 or later and says Community Edition updates only on the 2.45 line.

Record each instance's edition, running version, environment memberships and container ownership rules. Compare the running version after maintenance with the appropriate fixed release, using the patch management process. The vulnerability intelligence glossary explains how exposure context informs this ordering.

Timeline

  1. 2026-06-24

    Portainer says it received the first two independent reports.

  2. 2026-11-19

    Portainer published its advisory and released fixes in 2.39.9, 2.45.4 and 3.1.0.

  3. 2026-11-22

    The VulnCheck CNA published CVE-2026-134804, referencing the Portainer advisory.

What to do

  1. Identify shared environments

    Inventory Portainer installations, editions and versions. Identify Standard users sharing environments with containers they do not own.

  2. Apply the matching fixed release

    Upgrade 2.39.x to at least 2.39.9, versions 2.40.0 through 2.45.3 to at least 2.45.4, and 3.0.x to at least 3.1.0. Follow Portainer's recommendation to move 2.39.x to 2.45.4 or later.

  3. Verify the running version

    After maintenance, verify the version actually running on each Portainer instance against its fixed release. Recheck environment membership and container ownership rules.

  4. Reduce exposure while upgrading

    Until patched, separate mutually untrusted teams into different environments and review WebSocket attach and exec access logs for use against containers the caller does not own. Portainer says these measures do not replace the fix.

What Brandefense can do

Frequently Asked Questions

Does exploitation require an unauthenticated attacker?

No. Portainer says the attacker needs a Standard account with access to the same environment as the target container.

Can a Standard user reach every Portainer environment?

The advisory describes access to containers within an environment the user can already access. It does not describe access to arbitrary environments.

What should administrators verify after patching?

Confirm that each running instance is on 2.39.9, 2.45.4, 3.1.0 or a later applicable release. Then review shared environment memberships and container ownership controls.

Sources

  1. CVE-2026-134804 recordVulnCheck CNA via CVE Program
  2. WebSocket attach and exec authorization advisoryPortainer
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →