CVE-2026-56743: Cilium may unexpectedly allow ingress traffic from the local namespace when a Kubernetes NetworkPolicy is configured with an ipBlock match
Standard Kubernetes NetworkPolicy specifications using CIDR-based ipBlock rules without pod or namespace selectors erroneously generate a wildcard namespace allow rule under specific cluster configurations.
When Cilium deployment is configured with a specific custom clusterName (rather than the default "any" value), the parser incorrectly instantiates a pod selector on selectorless peer definitions. This leads to Cilium appending an unintended wildcard namespace label selector to the policy’s allowed Layer 3 rules, which allows traffic from other workloads in the same namespace as the subject of the policy.
Example policy affected by this issue:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: test-server
namespace: default
spec:
podSelector:
matchLabels:
app: test-server
policyTypes:
- Ingress
ingress:
- from:
- ipBlock:
cidr: 192.0.2.3
In affected versions, this policy erroneously allows the test-server Pod in the default namespace to receive any traffic from other workloads running in the default namespace.
References
- github.com/advisories/GHSA-fm8w-2m5w-9j7r
- github.com/cilium/cilium/commit/1c84ae3b58a7cd54f7ee355e6c524c82f620eae8
- github.com/cilium/cilium/commit/bacea640404c0805c23515353dc1681c5bf35171
- github.com/cilium/cilium/pull/46305
- github.com/cilium/cilium/pull/46456
- github.com/cilium/cilium/releases/tag/v1.19.5
- github.com/cilium/cilium/security/advisories/GHSA-fm8w-2m5w-9j7r
- nvd.nist.gov/vuln/detail/CVE-2026-56743
Code Behaviors & Features
Detect and mitigate CVE-2026-56743 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →