CVE-2026-102644: github.com/portainer/portainer Auth Bypass

CVE-2026-102644

NVD

Vulnerability Summary

Summary Portainer's Docker dashboard endpoint returns aggregate statistics for a Docker environment. The route that serves it, `/api/docker/{id}/dashboard`, was registered without the environment-level access check that Portainer's access control model relies on, so any authenticated user — including one with no assigned access to the target environment — can retrieve its dashboard metadata. Because environment identifiers are sequential, a low-privileged user can iterate over them and collect operational metadata for every Docker environment on the instance, including environments they are denied on the standard `/api/endpoints/{id}` path. The exposed data is aggregate metadata rather than resource contents: running, stopped, healthy, and unhealthy container counts, image counts and total image storage size, and volume, network, service, and stack counts. It does not permit modification of resources, command execution, or access to container contents, but it does reveal the existence, scale, and topology of protected environments. Severity Medium Exploitation requires only network access to the API and any authenticated non-administrative account, with no additional preconditions or victim interaction. Impact is limited to the confidentiality of aggregate environment metadata — a cross-boundary information disclosure that breaks Portainer's environment-level access control. There is no integrity or availability impact, and the disclosure does not by itself grant any control over the managed Docker environments, so there is no subsequent-system impact. See Responsibility and intended use below for how responsibility for this issue is split. Responsibility and intended use Portainer follows a shared-responsibility model (https://docs.portainer.io/advanced/security). Portainer is responsible for its security controls working as documented: a request that should be refused but is accepted is a Portainer defect, and this advisory covers one — environment access assignments are a Portainer control, and this route did not enforce them. In our application of that model, the operator is responsible for who can obtain an account on the instance and who can reach its API. Portainer Community Edition is intended for homelabs and other non-production use. It is provided as-is and receives security fixes on the latest release only (see the "Intended use" section of the Community Edition README, https://github.com/portainer/portainer#intended-use, and the Security Policy, https://github.com/portainer/portainer/security/policy). For any deployment where security posture matters, use Portainer Business Edition on a supported release line (see the Portainer release lifecycle, https://docs.portainer.io/start/lifecycle). This advisory covers both editions because they share the affected code. Affected Versions The dashboard route was introduced in 2.22.0 without an environment authorization check; every release from 2.22.0 up to the fixed versions below is affected. Portainer Community Edition and Portainer Business Edition share release version numbering; the table below applies to both editions. | Branch | First vulnerable | Fixed in | |---------------------|------------------|-------------------| | 2.40.x–2.43.x (STS) | 2.40.0 | 2.44.0 | | 2.39.x (LTS) | 2.39.0 | 2.39.4 | | 2.34.x–2.38.x (STS) | 2.34.0 | none, end of life | | 2.33.x (LTS) | 2.33.0 | none, end of life | | 2.28.x–2.32.x (STS) | 2.28.0 | none, end of life | | 2.27.x (LTS) | 2.27.0 | none, end of life | | 2.22.x–2.26.x (STS) | 2.22.0 | none, end of life | The 2.40.x–2.43.x short-term lines did not receive their own patch releases; the fix first shipped on that track in 2.44.0. Every later release of either edition, including the 2.45.x LTS line and 3.x, contains the fix. Portainer Community Edition receives security fixes on the latest release only; Community Edition users on any earlier release should upgrade to the latest release. Versions before 2.22.0 do not contain the affected route. Release lines marked end of life will not receive a fix. The 2.39.x LTS line, which received the fix in 2.39.4, has since reached end of life; users on 2.39.x or any earlier line should upgrade to the latest 2.45.x LTS patch release. Workarounds There is no configuration-level workaround that closes the route while preserving dashboard functionality. Administrators who cannot immediately upgrade can reduce exposure by: - Limiting account creation. The disclosure is available to any authenticated user, so restrict who can obtain an account on the instance and review existing non-administrative users. - Treating environment metadata as visible to all users. Until patched, assume the existence, scale, and topology of every Docker environment is visible to any authenticated user, and factor that into the risk assessment for multi-tenant instances. - Prefer a supported edition. Where security posture matters, run Portainer Business Edition on a supported release line; Community Edition is intended for non-production use and is patched on the latest release only. None of these replace the fix. Fix The Docker dashboard endpoint now applies the same environment access check as the other Docker environment routes: a request for an environment the caller has not been granted access to is refused with 403 Forbidden before any statistics are gathered. Administrators and users with access to the environment are unaffected. The fix is identical in both editions and on both release lines that received it, and nothing outside the Portainer server needs to change — no agent upgrade or configuration change is required. Impact - Cross-boundary metadata disclosure. Any authenticated user can read aggregate operational statistics — container, image, volume, network, service, and stack counts, and total image storage size — for Docker environments they have no permission to access. - Environment enumeration. Because environment IDs are sequential, an attacker can discover the existence and number of protected Docker environments across the instance. - Reconnaissance. The disclosed scale and topology of protected environments is useful input for further targeting, though the vulnerability alone grants no control over those environments. Credit Issue identified internally and while the fix was being worked on kaardeco independently identified and reported the missing environment authorization on the Docker dashboard route, with a clear proof of concept demonstrating cross-environment metadata disclosure.
Severity Level
MEDIUM(5.3)
Published Date
Dec 2, 2026
Last Modified
Dec 2, 2026
Exploitation Status
Public exploit available
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The software does not perform an authorization check when an actor attempts to access a resource or perform an action.
CVSS v4.0 Base Metrics — Score 5.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • github.com/portainer/portainer >= 2.22.0, < 2.39.0
  • github.com/portainer/portainer >= 2.39.0, < 2.39.4
  • github.com/portainer/portainer >= 2.40.0, < 2.44.0
Patched Versions
  • github.com/portainer/portainer 2.39.4
  • github.com/portainer/portainer 2.44.0

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run github.com/portainer/portainer and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Dec 2, 2026Published
  • Dec 2, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new github.com/portainer/portainer CVEsYou are reading CVE-2026-102644. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 4, 2026 08:01 UTC