Loading...
Skip to main content

CVE-2026-6720 — Vulnerability in...

HIGH

Calico Inserts Sensitive Information into Log File

Published May 28, 2026Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published May 28, 2026 (137 days ago).
  • Last revised September 10, 2026 — 104 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/projectcalico/calicoctl/v3 to 3.31.6 or later
go get github.com/projectcalico/calicoctl/v3@v3.31.6

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/projectcalico/calicoctl/v3
go
All versions3.31.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-6720?
Calico Inserts Sensitive Information into Log File This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2026-6720?
CVE-2026-6720 affects github.com/projectcalico/calicoctl/v3. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-6720 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-3m4q-ggcj-j6m4
GO-2026-5893

Related CVEs

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies