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 package | Versions | Reported by |
|---|---|---|
| cni-plugin | before 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-cd73bc2cea0f | GitHub Advisory Database, Go Vulnerability Database |
| github.com/projectcalico/calico/v3 (Go) | all versions | Go Vulnerability Database |
| tigera calico | before 3.21.7, before 3.32.0, before 22.4.0, from 3.22.0 before 3.22.3 | NVD |
All scores
| Tigera | 6.0medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
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/12502 | fix, issue-tracking, patch, web | |
| https://github.com/projectcalico/calico/pull/12527 | fix, issue-tracking, patch, web | |
| https://github.com/projectcalico/calico/pull/12526 | fix, issue-tracking, patch, web | |
| https://www.tigera.io/security-bulletins/tta-2026-001/ | mitigation, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-41184 | advisory | |
| https://github.com/projectcalico/calico/commit/0ca653db0ae7400ea9fb066daa7f45c902482271 | fix, web | |
| https://github.com/projectcalico/calico/commit/cd73bc2cea0f4989772f2deb93909e7cfac927e0 | fix, web | |
| https://github.com/projectcalico/calico/commit/da9ea3a13927a35e4022b787d17a005b2157d812 | fix, web | |
| https://github.com/projectcalico/calico | package | |
| https://www.tigera.io/security-bulletins/tta-2026-001 | web | |
| https://github.com/advisories/GHSA-9p7w-w5q6-mxj3 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-41184 changed 2026-05-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9p7w-w5q6-mxj3 changed 2026-07-07 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5888 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-41184 changed 2026-10-26 | Public domain |