CVE-2026-6720 PUBLISHED

Calicoctl leaks cluster credentials to stderr when verbose logging is enabled

Assigner: Tigera
Reserved: 20.04.2026 Published: 28.05.2026 Updated: 28.05.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H
CVSS Score: 7.2

Product Status

Vendor Tigera
Product Calico
Versions Default: affected
  • affected from 0 to 3.32.0 (excl.)
Vendor Tigera
Product Calico Enterprise
Versions Default: affected
  • affected from 0 to 3.21.7 (excl.)
  • Version 3.22.3 is unaffected
Vendor Tigera
Product Calico Cloud
Versions Default: affected
  • affected from 0 to 22.4.0 (excl.)

Credits

  • Behnam Shobiri finder
  • Behnam Shobiri remediation developer
  • Anthony Tam remediation verifier

References

Problem Types

  • CWE-532 CWE

Impacts

  • CAPEC-150 Collect Data from Common Resource Locations