# CVE-2026-44882: Portainer: Kubernetes middleware continues after token validation failure, bypassing endpoint authorization

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 34% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T16:24:29.000Z
- Modified: 2026-07-21T10:10:00.103Z
- Also known as: GHSA-mgq6-4x29-88r3, GO-2026-5505
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. From 2.33.0 to before 2.33., Portainer proxies requests to Kubernetes clusters through a middleware layer (kubeClientMiddleware) that validates the requesting user's token before forwarding traffic to the cluster. When security.RetrieveTokenData returned an error, the middleware wrote an HTTP 403 response but was missing a return statement — execution continued into the handler with a nil tokenData value. The Kubernetes endpoints sit behind Portainer's outer AuthenticatedAccess bouncer, so an attacker requires a valid Portainer session. However, a user whose secondary token validation fails in kubeClientMiddleware — for example a user without permission to access a given Kubernetes endpoint — would have their request forwarded to the cluster anyway, bypassing the authorization check. The same defect was present in both the CE and EE codebases. This vulnerability is fixed in 2.33.8.

(As written by CVE List.)

## Affected

- portainer portainer: >= 2.33.0, < 2.33.8; from 2.33.0 before 2.33.8
- github.com/portainer/portainer (Go): from 2.33.0 before 2.33.8; all versions

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/portainer/portainer/security/advisories/GHSA-mgq6-4x29-88r3> (exploit, advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44882> (advisory)
- <https://github.com/portainer/portainer> (package)
- <https://github.com/portainer/portainer/releases/tag/2.33.8> (web)

## Sources

- CVE List: [CVE-2026-44882](https://www.cve.org/CVERecord?id=CVE-2026-44882), CVE Terms of Use, modified 2026-05-30
- GitHub Advisory Database: [GHSA-mgq6-4x29-88r3](https://github.com/advisories/GHSA-mgq6-4x29-88r3), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5505](https://pkg.go.dev/vuln/GO-2026-5505), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-44882](https://nvd.nist.gov/vuln/detail/CVE-2026-44882), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-44882 · Whole record: https://cve.day/CVE-2026-44882.json · Rebuilt by cve.day 2026-11-25T22:59:23.081Z
