Cilium Node-Based Network Policy Traffic Mismanagement Vulnerability

Vulnerability

A vulnerability in Cilium's node-based network policies allows unintended traffic to and from non-node endpoints that share the specified labels in the policy. This issue arises when the 'fromNodes' and 'toNodes' fields are used with labels that are also applied to other endpoints, not just nodes. The vulnerability is present in Cilium versions 1.16.0 through 1.16.7 and 1.17.0 through 1.17.1. Node-based network policy is disabled by default in Cilium.

Impact

Exploitation of this vulnerability can lead to improper traffic management, allowing unintended communication between workloads and endpoints.

Reproduction

To reproduce this vulnerability, create a CiliumNetworkPolicy that uses the 'fromNodes' or 'toNodes' fields with labels shared by non-node endpoints. This can be done by specifying labels that are not exclusive to nodes, such as those used by workloads or services. Once the policy is applied, observe the traffic to and from the endpoints, which will incorrectly allow or block communication based on the shared labels.

Remediation

Users can upgrade to Cilium versions 1.16.8 or 1.17.2, where this issue has been fixed. Alternatively, ensure that the labels used in 'fromNodes' and 'toNodes' fields are exclusive to nodes and not shared with other endpoints.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
0.6
exploitability
5.9
remediation
7.9
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.