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.

Project Subscriptions

Vendors Products
Calico Cloud Subscribe
Calico Enterprise Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 28 May 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 28 May 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title Calicoctl leaks cluster credentials to stderr when verbose logging is enabled
First Time appeared Tigera
Tigera calico
Tigera calico Cloud
Tigera calico Enterprise
Weaknesses CWE-532
CPEs cpe:2.3:a:tigera:calico:*:*:*:*:*:*:*:*
cpe:2.3:a:tigera:calico_cloud:*:*:*:*:*:*:*:*
cpe:2.3:a:tigera:calico_enterprise:*:*:*:*:*:*:*:*
cpe:2.3:a:tigera:calico_enterprise:3.22.3:*:*:*:*:*:*:*
Vendors & Products Tigera
Tigera calico
Tigera calico Cloud
Tigera calico Enterprise
References
Metrics cvssV4_0

{'score': 7.2, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Tigera

Published:

Updated: 2026-05-28T17:04:11.659Z

Reserved: 2026-04-20T19:31:31.065Z

Link: CVE-2026-6720

cve-icon Vulnrichment

Updated: 2026-05-28T17:04:08.496Z

cve-icon NVD

Status : Received

Published: 2026-05-28T17:16:33.490

Modified: 2026-05-28T17:16:33.490

Link: CVE-2026-6720

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses