CVE-2026-6720

Calicoctl leaks cluster credentials to stderr when verbose logging is enabled

State
Published
Severity
7.2 High
Published
May 28, 2026
Updated
May 28, 2026
Reserved
Apr 20, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.07.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:HTigera

Weaknesses

Affected Products

ProductVersions
CalicoTigera
  • before 3.32.0Affected
Calico EnterpriseTigera
  • before 3.21.7Affected
  • 3.22.3Not affected
Calico CloudTigera
  • before 22.4.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.