CVE-2026-41184: ServiceAccount token disclosure via install-cni container logs
In Calico, the install-cni init container logs the rendered CNI configuration to standard output. When the configuration template uses the SERVICEACCOUNTTOKEN 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable logging of the rendered CNI configuration to stdout in the install-cni init container to prevent ServiceAccount bearer tokens from being written to container logs.
Calico install-cni init container log_rendered_cni_config = disabled - Configuration
Remove or avoid using the __SERVICEACCOUNT_TOKEN__ placeholder in CNI configuration templates so the installer does not substitute the live ServiceAccount bearer token into the rendered configuration.
Calico CNI configuration template (Canal/Flannel-Calico) __SERVICEACCOUNT_TOKEN__ placeholder usage = remove/avoid - Compensating control
Restrict Kubernetes RBAC so that only trusted principals have the pods/log permission in the namespace(s) running calico-node; remove or narrow pods/log permissions from broad or unauthenticated roles.
- Operational
Rotate or revoke any ServiceAccount tokens for calico-node that may have been exposed (recreate the affected ServiceAccounts or their tokens) to eliminate tokens that were logged.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-41184?
CVE-2026-41184 has a medium severity level of 6 according to the CVSS score.
What kind of vulnerabilities does CVE-2026-41184 exploit?
CVE-2026-41184 exposes ServiceAccount tokens via logs generated by the install-cni container in Calico.
How do I fix CVE-2026-41184?
To address CVE-2026-41184, ensure that sensitive information is not logged by adjusting the CNI configuration templates.
What software is affected by CVE-2026-41184?
CVE-2026-41184 affects Tigera Calico deployments utilizing the Canal or Flannel network interface.
When was CVE-2026-41184 published?
CVE-2026-41184 was published on May 28, 2026.