CVE-2026-44882

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:*

History

21 Jul 2026, 10:10

Type Values Removed Values Added
Summary
  • (es) Portainer Community Edition es una plataforma ligera de entrega de servicios para aplicaciones en contenedores que puede utilizarse para gestionar entornos Docker, Swarm, Kubernetes y ACI. Desde la 2.33.0 hasta antes de la 2.33., Portainer actúa como proxy para las solicitudes a los clústeres de Kubernetes a través de una capa de middleware (kubeClientMiddleware) que valida el token del usuario solicitante antes de reenviar el tráfico al clúster. Cuando security.RetrieveTokenData devolvía un error, el middleware escribía una respuesta HTTP 403 pero faltaba una sentencia de retorno — la ejecución continuaba en el gestor con un valor tokenData nulo. Los puntos finales de Kubernetes se encuentran detrás del bouncer externo AuthenticatedAccess de Portainer, por lo que un atacante requiere una sesión válida de Portainer. Sin embargo, un usuario cuya validación de token secundaria falla en kubeClientMiddleware — por ejemplo, un usuario sin permiso para acceder a un punto final de Kubernetes determinado — vería su solicitud reenviada al clúster de todos modos, omitiendo la comprobación de autorización. El mismo defecto estaba presente tanto en las bases de código CE como EE. Esta vulnerabilidad está corregida en la 2.33.8.

01 Jun 2026, 18:03

Type Values Removed Values Added
CPE cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:*
References () https://github.com/portainer/portainer/security/advisories/GHSA-mgq6-4x29-88r3 - () https://github.com/portainer/portainer/security/advisories/GHSA-mgq6-4x29-88r3 - Exploit, Third Party Advisory
First Time Portainer
Portainer portainer

28 May 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-28 22:16

Updated : 2026-07-21 10:10


NVD link : CVE-2026-44882

Mitre link : CVE-2026-44882

CVE.ORG link : CVE-2026-44882


JSON object : View

Products Affected

portainer

  • portainer
CWE
CWE-863

Incorrect Authorization