Vulnerabilities in pkg:golang/github.com/projectcalico/calico

PACKAGE
Advisory Identifier: GHSA-9p7w-w5q6-mxj3
Advisory Summary

CVE-2026-41184 is a MODERATE (CVSS 6.5) calico inserts sensitive information into vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Github.com/projectcalico/calico libraries in the Go ecosystem. The issue involves calico inserts sensitive information into log file. Remediation is available by upgrading affected packages to version 3.31.6, 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/projectcalico/calico

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/projectcalico/calico. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9p7w-w5q6-mxj3 CVE-2026-41184 MODERATE Calico Inserts Sensitive Information into Log File
GHSA-m67g-87rx-v42c CVE-2026-41185 MODERATE Calico Inserts Sensitive Information into Log File
GHSA-9394-xfq9-6qrp CVE-2022-28224 MODERATE Calico vulnerable to pod route hijacking
GHSA-6362-gv4m-53ww CVE-2024-33522 HIGH Calico privilege escalation vulnerability
GHSA-pf59-j7c2-rh6x CVE-2020-13597 MODERATE Exposure of Sensitive Information to an Unauthorized Actor and Insertion of Sensitive Information Into Sent Data in Calico
GHSA-5r5h-q934-cccp CVE-2023-41378 HIGH Calico Typha denial of service vulnerability

CVE-2026-41184 at a Glance

CVE Identifier CVE-2026-41184
GHSA Identifier GHSA-9p7w-w5q6-mxj3
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Github.com/projectcalico/calico
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-41184

To remediate this vulnerability, upgrade all affected Github.com/projectcalico/calico dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/projectcalico/calico fixed: 3.31.6
Upgrade github.com/projectcalico/calico to 3.31.6
github.com/projectcalico/calico fixed: 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
Upgrade github.com/projectcalico/calico to 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/projectcalico/calico

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-41184, inspect your project dependencies for Github.com/projectcalico/calico:

inspect dependencies for github.com/projectcalico/calico

Analyze the terminal output to locate any version of Github.com/projectcalico/calico in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.31.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Github.com/projectcalico/calico, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In Calico, the install-cni init container logs the rendered CNI configuration to standard output. When the configuration template uses the __SERVICEACCOUNT_TOKEN__ placeholder (Canal/Flannel-Calico deployments), the installer substitutes the live Kubernetes ServiceAccount bearer token before logging, exposing the token to any authenticated user with pods/log permission in the namespace with calico-node. The token holds patch privileges on pods/status, enabling annotation-based attacks against cluster workloads. The default kubeconfig-based authentication path is not affected. This is a direct regression of TTA-2018-001.

CVE-2026-41184 Affected Github.com/projectcalico/calico Versions

2 component(s)
Fixed Versions:
3.31.61.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
Product / Package Ecosystem Affected Versions Fixed Version
github.com/projectcalico/calico
Go
≥ 2.0.0
< 3.31.6
3.31.6
github.com/projectcalico/calico
Go
< 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f

References

Frequently Asked Questions

What is CVE-2026-41184?
CVE-2026-41184 is a security vulnerability in Github.com/projectcalico/calico involving Calico Inserts Sensitive Information into Log File under CWE-532: Insertion of Sensitive Information into Log File.
Which Github.com/projectcalico/calico versions are affected?
Affected versions include releases prior to 3.31.6, 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f across affected packages: github.com/projectcalico/calico.
What version fixes CVE-2026-41184?
Upgrading to 3.31.6, 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/projectcalico/calico affected?
Yes, github.com/projectcalico/calico is affected in releases prior to 3.31.6, 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f. Upgrade your dependency to 3.31.6, 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f or later.
What is the CVSS score of CVE-2026-41184?
CVE-2026-41184 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-41184?
CVE-2026-41184 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Go dependencies for CVE-2026-41184?
Run the dependency tree command: 'inspect dependencies for github.com/projectcalico/calico'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9p7w-w5q6-mxj3",
  "modified" : "2026-07-02T18:01:02Z",
  "published" : "2026-05-28T18:30:32Z",
  "aliases" : [ "CVE-2026-41184" ],
  "summary" : "Calico Inserts Sensitive Information into Log File",
  "details" : "In Calico, the install-cni init container logs the rendered CNI configuration to standard output. When the configuration template uses the __SERVICEACCOUNT_TOKEN__ placeholder (Canal/Flannel-Calico deployments), the installer substitutes the live Kubernetes ServiceAccount bearer token before logging, exposing the token to any authenticated user with pods/log permission in the namespace with calico-node. The token holds patch privileges on pods/status, enabling annotation-based attacks against cluster workloads. The default kubeconfig-based authentication path is not affected. This is a direct regression of TTA-2018-001.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/projectcalico/calico"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "3.31.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/projectcalico/calico"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41184"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/projectcalico/calico/pull/12502"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/projectcalico/calico/pull/12526"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/projectcalico/calico/pull/12527"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/projectcalico/calico/commit/0ca653db0ae7400ea9fb066daa7f45c902482271"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/projectcalico/calico/commit/cd73bc2cea0f4989772f2deb93909e7cfac927e0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/projectcalico/calico/commit/da9ea3a13927a35e4022b787d17a005b2157d812"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/projectcalico/calico"
  }, {
    "type" : "WEB",
    "url" : "https://www.tigera.io/security-bulletins/tta-2026-001"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-02T18:01:02Z",
    "nvd_published_at" : "2026-05-28T17:16:22Z"
  }
}