CVE-2026-134804 Missing authorization in Portainer

Published Updated

Standard Portainer users with shared environment access can hijack other users' containers via WebSocket attach/exec to gain root shells.

CVSS score

High

8.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
3.1.0, 2.45.4, 2.39.9
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-134804?

CVE-2026-134804 is a high-severity missing authorization vulnerability in Portainer, published on 22 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-639

How severe is CVE-2026-134804?

CVE-2026-134804 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134804?

3 open source packages ship an affected version, including github.com/portainer/portainer.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
github.com/portainer/portainer Go
pkg:golang/github.com/portainer/portainer
From 2.39.02.39.9
github.com/portainer/portainer Go
pkg:golang/github.com/portainer/portainer
From 2.40.02.45.4
github.com/portainer/portainer Go
pkg:golang/github.com/portainer/portainer
From 3.0.03.1.0

How do I fix CVE-2026-134804?

Upgrade github.com/portainer/portainer to a fixed version for your release line: 3.1.0, 2.45.4 or 2.39.9.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-134804 being exploited?

There is no known exploitation of CVE-2026-134804 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-6c57-xm2f-23fg, GHSA-88pc-g85c-cfjr.

Is CVE-2026-134804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free