Skip to content
OpenAdvisories
Medium · 6.0 CVE-2026-41184 EUVD-2026-32931GHSA-9p7w-w5q6-mxj3GO-2026-5888

ServiceAccount token disclosure via install-cni container logs

Published May 28, 2026 · Updated May 28, 2026 · Assigned by Tigera

Description

In Calico, the install-cni init container logs the rendered CNI configuration to standard output. When the configuration template uses the __SERVICEACCOUNT_TOKEN__ placeholder (Canal/Flannel-Calico deployments), the installer substitutes the live Kubernetes ServiceAccount bearer token before logging, exposing the token to any authenticated user with pods/log permission in the namespace with calico-node. The token holds patch privileges on pods/status, enabling annotation-based attacks against cluster workloads. The default kubeconfig-based authentication path is not affected. This is a direct regression of TTA-2018-001.

Affected products

VendorProductAffectedFixed
Tigera Calico < 3.31.6 3.32.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/projectcalico/calico >= 2.0.0, < 3.31.6 3.31.6 GHSA-9p7w-w5q6-mxj3
Go github.com/projectcalico/calico < 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f GHSA-9p7w-w5q6-mxj3
Go github.com/projectcalico/calico/v3 all versions — GO-2026-5888

Advisories 1

References