CVE-2026-41184
JSON

6.0medium

ServiceAccount token disclosure via install-cni container logs

Severity
6.0medium CVSS:4.0 by Tigera
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Tigera
Also known as
GHSA-9p7w-w5q6-mxj3GO-2026-5888

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

Product or packageVersionsReported by
cni-pluginbefore 3.31.6
Not affected: 3.32.0
CVE List
github.com/projectcalico/calico (Go)from 2.0.0 before 3.31.6, before 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0fGitHub Advisory Database, Go Vulnerability Database
github.com/projectcalico/calico/v3 (Go)all versionsGo Vulnerability Database
tigera calicobefore 3.21.7, before 3.32.0, before 22.4.0, from 3.22.0 before 3.22.3NVD

All scores

Tigera6.0medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Calico Inserts Sensitive Information into Log File in github.com/projectcalico/calico.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/projectcalico/calico/v3 before v3.31.6.

NVD (es)

En Calico, el contenedor init install-cni registra la configuración CNI renderizada en la salida estándar. Cuando la plantilla de configuración utiliza el marcador de posición __SERVICEACCOUNT_TOKEN__ (despliegues de Canal/Flannel-Calico), el instalador sustituye el token portador de ServiceAccount de Kubernetes en vivo antes de registrar, exponiendo el token a cualquier usuario autenticado con permiso pods/log en el espacio de nombres con calico-node. El token tiene privilegios de parche en pods/status, lo que permite ataques basados en anotaciones contra las cargas de trabajo del clúster. La ruta de autenticación predeterminada basada en kubeconfig no se ve afectada. Esto es una regresión directa de TTA-2018-001.

References

https://github.com/projectcalico/calico/pull/12502fix, issue-tracking, patch, web
https://github.com/projectcalico/calico/pull/12527fix, issue-tracking, patch, web
https://github.com/projectcalico/calico/pull/12526fix, issue-tracking, patch, web
https://www.tigera.io/security-bulletins/tta-2026-001/mitigation, vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2026-41184advisory
https://github.com/projectcalico/calico/commit/0ca653db0ae7400ea9fb066daa7f45c902482271fix, web
https://github.com/projectcalico/calico/commit/cd73bc2cea0f4989772f2deb93909e7cfac927e0fix, web
https://github.com/projectcalico/calico/commit/da9ea3a13927a35e4022b787d17a005b2157d812fix, web
https://github.com/projectcalico/calicopackage
https://www.tigera.io/security-bulletins/tta-2026-001web
https://github.com/advisories/GHSA-9p7w-w5q6-mxj3advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-41184 changed 2026-05-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-9p7w-w5q6-mxj3 changed 2026-07-07CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5888 changed 2026-07-07CC-BY-4.0
NVDCVE-2026-41184 changed 2026-10-26Public domain