{"cve":"CVE-2026-44882","nvd":{"published":"2026-05-28T22:16:59.380","modified":"2026-07-21T10:10:00.103","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-863"],"references":["https://github.com/portainer/portainer/security/advisories/GHSA-mgq6-4x29-88r3"],"products":["portainer:portainer"],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-44882","score":0.00335,"percentile":0.26923,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mgq6-4x29-88r3","url":"https://osv.dev/vulnerability/GHSA-mgq6-4x29-88r3","summary":"Portainer's Kubernetes middleware continues after token validation failure, bypassing endpoint authorization","modified":"2026-06-25T23:11:05.913354379Z","packages":[{"ecosystem":"Go","name":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","ranges":[">=2.33.0 <2.33.8"],"fixed":["2.33.8"]}]},{"id":"GO-2026-5505","url":"https://osv.dev/vulnerability/GO-2026-5505","summary":"Portainer's Kubernetes middleware continues after token validation failure, bypassing endpoint authorization in github.com/portainer/portainer","modified":"2026-06-25T23:01:20.162574992Z","packages":[{"ecosystem":"Go","name":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}