CVE-2026-6720
CVE-2026-6720 · Calicoctl leaks cluster credentials to stderr when verbose logging is enabled
This page contains facts from public vulnerability sources. Check the original advisory before updating.
When calicoctl is invoked with --log-level=info or --log-level=debug, the client prints the full contents of its loaded connection-configuration struct to stderr in a single log line. The struct embeds every credential calicoctl uses to talk to the cluster — inline kubeconfig (with bearer token), Kubernetes API bearer token, etcd password, and inline PEM-encoded etcd client certificate and key. Any reader of that stderr stream — CI job logs, session-recording archives, shared support-ticket transcripts, or local filesystem viewers on the host that ran calicoctl — can extract these credentials with zero Kubernetes privilege. calicoctl's default log level is panic, so this issue only triggers when verbose logging is explicitly enabled.
CVSS 7.2 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: containers
Affected products and versions
calico
- Versions
- ≥ 0, < 3.32.0: Affected (semver)
Update to 3.32.0
calico enterprise
- Versions
- ≥ 0, < 3.21.7: Affected (semver)
- 3.22.3: Not affected (semver)
Update to 3.21.7
calico cloud
- Versions
- ≥ 0, < 22.4.0: Affected (semver)
Update to 22.4.0