CVE-2026-41520
Cilium vulnerability analysis and mitigation

Overview

CVE-2026-41520 is an information disclosure vulnerability in Cilium's cilium-bugtool debugging utility that exposes WireGuard private keys (cilium_wg0.key) when run against Cilium deployments with WireGuard Transparent Encryption enabled. The vulnerability affects all Cilium versions prior to v1.17.15, v1.18.0 through v1.18.8, and v1.19.0 through v1.19.2. It was reported by @kodareef5, published to the GitHub Advisory Database on April 25, 2026, and patched on the same date. The CVSS v3.1 score is 7.9 (High) per the GitHub Security Advisory, though NVD scores it at 4.4 (Medium) using a narrower vector (Github Advisory, Cilium Advisory).

Technical details

The root cause is classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and CWE-312 (Cleartext Storage of Sensitive Information). When cilium-bugtool collects diagnostic data from a Cilium node with WireGuard encryption enabled, it inadvertently includes the WireGuard private key file (cilium_wg0.key) in the generated debug archive without sanitizing or excluding cryptographic key material. This tool is also invoked automatically by the Cilium CLI's cilium sysdump command, meaning any operator or privileged user who runs a sysdump on an affected node and shares the resulting archive exposes the node's WireGuard private key to unintended recipients (Github Advisory, Cilium Advisory).

Impact

Exposure of the WireGuard private key (cilium_wg0.key) from a debug archive compromises the confidentiality of node-to-node encrypted communications within the Cilium cluster. An attacker who obtains the archive — for example, through insecure sharing of support bundles — could use the private key to decrypt WireGuard-encrypted traffic between cluster nodes, effectively breaking the transparent encryption layer. There is no direct integrity or availability impact, but the confidentiality breach could enable passive decryption of inter-node traffic and potentially facilitate lateral movement within the cluster (Github Advisory).

Exploitability

There is no known public exploit code or evidence of in-the-wild exploitation for this vulnerability. The EPSS score is approximately 0.006% (0th percentile), indicating a very low probability of near-term exploitation (Github Advisory). Exploitation requires local, high-privilege access to invoke cilium-bugtool or cilium sysdump, and the actual risk materializes only if the resulting archive is shared with an unauthorized party. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no threat actor attribution has been reported.

Exploitation steps

  1. Gain privileged access: Obtain high-privilege (e.g., cluster-admin or node-level) access to a Kubernetes cluster running a vulnerable version of Cilium with WireGuard Transparent Encryption enabled.
  2. Invoke cilium-bugtool or cilium sysdump: Run cilium-bugtool directly on the affected node, or use the Cilium CLI command cilium sysdump to generate a diagnostic archive. Both commands collect system state and include the WireGuard key file.
  3. Extract the private key: Open the generated archive (typically a .tar.gz file) and locate the cilium_wg0.key file, which contains the WireGuard private key for that node in cleartext.
  4. Decrypt inter-node traffic: Use the extracted WireGuard private key to configure a WireGuard peer or use tooling to passively decrypt previously captured or ongoing encrypted node-to-node traffic within the cluster (Github Advisory, Cilium Advisory).

Indicators of compromise

  • File System: Presence of cilium-bugtool output archives (.tar.gz) containing a cilium_wg0.key file on affected nodes or in shared storage locations; unexpected copies of WireGuard key files outside of their expected system paths.
  • Logs: Audit logs showing execution of cilium-bugtool or cilium sysdump commands by unexpected users or at unexpected times; file access logs showing reads of /var/lib/cilium/cilium_wg0.key or equivalent paths during bugtool execution.
  • Network: Unexpected exfiltration of large archive files from cluster nodes to external destinations following bugtool invocation; anomalous WireGuard handshake attempts from unknown peers using keys matching those of cluster nodes.

Mitigation and workarounds

Upgrade Cilium to a patched version: v1.17.15, v1.18.9, or v1.19.3, which exclude the WireGuard private key from cilium-bugtool output (Cilium v1.17.15, Cilium v1.18.9, Cilium v1.19.3). There is no configuration-based workaround available. Users who have previously shared bugtool or sysdump archives from WireGuard-enabled nodes should immediately rotate the WireGuard keys on affected nodes by deleting the cilium_wg0.key file and restarting the Cilium agent, which will generate a new key pair (Github Advisory).

Community reactions

The Cilium community, in collaboration with members of Isovalent, coordinated the disclosure and remediation of this issue. The advisory credits @kodareef5 for responsible disclosure and @tklauser for triaging and remediating the vulnerability. No significant broader media coverage or notable external researcher commentary has been identified beyond the official advisory (Cilium Advisory).

Additional resources


SourceThis report was generated using AI

Related Cilium vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-56742HIGH8.9
  • Cilium logoCilium
  • hubble-fips
NoYesJul 15, 2026
CVE-2026-49445HIGH8.8
  • Cilium logoCilium
  • cilium-fips-1.19
NoYesJul 15, 2026
CVE-2026-53935MEDIUM6.9
  • Cilium logoCilium
  • kubescape-operator
NoYesJul 07, 2026
CVE-2026-56743MEDIUM5.4
  • Cilium logoCilium
  • cpe:2.3:a:cilium:cilium
NoYesJul 15, 2026
CVE-2026-41520MEDIUM4.4
  • Cilium logoCilium
  • kubescape
NoYesMay 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management