/

CVE-2026-72533

Severity:

HIGH RISK

(8.8)

Authentication Bypass (CWE-287) in Portainer CE Proxy

CVE-2026-72533

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized Docker Host Access

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Portainer CE contains an authentication bypass in its Docker proxy authorization flow, where non-canonical request paths can be interpreted differently by the proxy and access-control middleware. An authenticated low-privileged user may exploit this mismatch to bypass authorization checks and obtain root-level access to the underlying Docker host.

Affected context

The vulnerability occurs in Portainer CE deployments that expose the Docker proxy endpoint and rely on middleware to authorize proxied requests. Risk increases when request paths are not normalized consistently before routing and authorization decisions are made, allowing different components to evaluate equivalent-looking paths differently.

Exploit preconditions

  • Attack surface: Portainer's Docker proxy endpoint
  • Required access: An authenticated account with low privileges
  • Trigger point: Processing of a request containing a non-canonical URL path
  • Why exploitation is possible: The proxy and authorization layer normalize or interpret the request path inconsistently, allowing the request to evade intended access controls

Why this happens

The underlying flaw is inconsistent URL path canonicalization across authentication and authorization boundaries. When access-control middleware evaluates a request differently from the downstream proxy, specially structured paths may avoid the checks intended to protect privileged Docker operations. This behavior maps to CWE-287: Improper Authentication, because the authorization flow fails to reliably establish that the requester is permitted to perform the requested operation.

Potential impact

  • An attacker may bypass Docker proxy authorization checks
  • An attacker could access or control Docker resources beyond their assigned privileges
  • The compromise can result in root-level access to the underlying Docker host
  • Containers, images, secrets, and mounted data may be exposed or modified
  • Host integrity and workloads may be disrupted

General mitigation guidance

Mitigation generally focuses on enforcing one canonical representation of every request path before authentication, authorization, routing, and logging decisions are made.

Common defensive patterns include:

  • Normalize and validate URL paths at a single trusted boundary
  • Apply authorization after canonicalization and preserve the same representation downstream
  • Reject ambiguous, malformed, or non-canonical paths by default
  • Ensure proxy routes use explicit allowlists for permitted Docker operations
  • Run Portainer and Docker components with the minimum practical privileges
  • Segment management interfaces from untrusted networks and restrict administrative access
  • Treat authenticated low-privilege sessions as untrusted when evaluating privileged proxy requests

How teams detect issues like this

Organizations can look for:

  • Static-analysis rules that identify authorization decisions made before URL canonicalization
  • Code-review signals involving path decoding, normalization, redirects, proxy forwarding, or route matching
  • Tests comparing authorization outcomes for canonical and equivalent non-canonical request paths
  • Web and proxy logs containing unusual encoded, repeated, or dot-segment path patterns
  • Policy enforcement requiring centralized request normalization and explicit proxy route allowlists
  • Automated security testing that verifies every Docker proxy operation is authorized after canonicalization

Sources

SourceLink
github.comgithub.com/portainer/portainer

Frequently asked

questions

It may be exploitable through a reachable Portainer Docker proxy endpoint, but an attacker generally needs an authenticated low-privileged account and network access to the Portainer instance.

Based on the described conditions, exploitation requires authenticated access. The account's low privilege level does not prevent the authorization bypass from reaching protected Docker functionality.

Canonicalize and validate request paths before authorization, reject ambiguous representations, and ensure the same canonical path is used by every proxy and middleware component.

Use centralized path normalization, explicit proxy allowlists, differential authorization tests, least-privilege deployment, and monitoring for anomalous request paths.

Find out what's already
exploitable in your codebase.