SCA: security update for github.com/portainer/portainer (GHSA-mgq6-4x29-88r3)

high Tenable Cloud Security Plugin ID 441856

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-44882)

Solution

Update the github.com/portainer/portainer library and its related packages to version 2.33.8 or later.

See Also

https://github.com/advisories/GHSA-mgq6-4x29-88r3

Plugin Details

Severity: High

ID: 441856

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/14/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.61

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2026-44882

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2026

Vulnerability Publication Date: 5/14/2026

Reference Information

CVE: CVE-2026-44882

cwe: CWE-863