CVE-2025-30162: East-west traffic not subject to egress policy enforcement for requests via Gateway API load balancers

Published Mar 24, 2025
·
Updated

Impact

For Cilium users who: - Use Gateway API for Ingress for some services AND - Use LB-IPAM or BGP for LB Service implementation AND - Use network policies to block egress traffic from workloads in a namespace to workloads in other namespaces

Egress traffic from workloads covered by such network policies to LoadBalancers configured by Gateway resources will incorrectly be allowed.

LoadBalancer resources not deployed via a Gateway API configuration are not affected by this issue.

Patches

This issue was fixed by https://github.com/cilium/proxy/pull/1172.

This issue affects:

- Cilium v1.15 between v1.15.0 and v1.15.14 inclusive - Cilium v1.16 between v1.16.0 and v1.16.7 inclusive - Cilium v1.17 between v1.17.0 and v1.17.1 inclusive

This issue is fixed in:

- Cilium v1.15.15 - Cilium v1.16.8 - Cilium v1.17.2

Workarounds

A Clusterwide Cilium Network Policy can be used to work around this issue for users who are unable to upgrade. An outline of such a policy is provided below:

apiVersion: "cilium.io/v2" kind: CiliumClusterwideNetworkPolicy metadata: name: "workaround" spec: endpointSelector: matchExpressions: - key: reserved:ingress operator: Exists ingress: - fromEntities: - world

- The policy opens up connectivity from all locations outside the cluster into the Cilium Ingress Gateway. - The policy establishes a default deny for all other traffic towards the Cilium Ingress Gateway, including all in-cluster sources. - It is possible to tailor the policy to more narrowly allow inbound traffic while creating a default deny posture for traffic between namespaces. Users should edit the policy to bring it in line with the security requirements particular to their environments.

Acknowledgements

The Cilium community has worked together with members of the Isovalent team to prepare these mitigations. Special thanks to @jrajahalme for the fix.

For more information

If you think you have found a vulnerability affecting Cilium, we strongly encourage you to report it to our security mailing list at security@cilium.io. This is a private mailing list for the Cilium security team, and your report will be treated as top priority.

Other sources

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. For Cilium users who use Gateway API for Ingress for some services and use LB-IPAM or BGP for LB Service implementation and use network policies to block egress traffic from workloads in a namespace to workloads in other namespaces, egress traffic from workloads covered by such network policies to LoadBalancers configured by Gateway resources will incorrectly be allowed. LoadBalancer resources not deployed via a Gateway API configuration are not affected by this issue. This issue affects: Cilium v1.15 between v1.15.0 and v1.15.14 inclusive, v1.16 between v1.16.0 and v1.16.7 inclusive, and v1.17 between v1.17.0 and v1.17.1 inclusive. This issue is fixed in Cilium v1.15.15, v1.16.8, and v1.17.2. A Clusterwide Cilium Network Policy can be used to work around this issue for users who are unable to upgrade.

— MITRE

Affected Software

6 affected componentsFixes available
go/github.com/cilium/cilium>=1.15.0<1.15.15
1.15.15
go/github.com/cilium/cilium>=1.17.0<1.17.2
1.17.2
go/github.com/cilium/cilium>=1.16.0<1.16.8
1.16.8
Cilium Cilium>=1.15.0<1.15.15
Cilium Cilium>=1.16.0<1.16.8
Cilium Cilium>=1.17.0<1.17.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/cilium/cilium to a version that resolves this vulnerability.

    Fixed in 1.15.15
  2. Upgrade

    Upgrade go/github.com/cilium/cilium to a version that resolves this vulnerability.

    Fixed in 1.17.2
  3. Upgrade

    Upgrade go/github.com/cilium/cilium to a version that resolves this vulnerability.

    Fixed in 1.16.8
  4. Upgrade

    Upgrade Cilium to a version that resolves this vulnerability.

    Fixed in 1.15.15
  5. Upgrade

    Upgrade Cilium to a version that resolves this vulnerability.

    Fixed in 1.16.8
  6. Upgrade

    Upgrade Cilium to a version that resolves this vulnerability.

    Fixed in 1.17.2
  7. Compensating control

    If unable to upgrade, apply a CiliumClusterwideNetworkPolicy workaround that establishes a default deny posture for traffic towards the Cilium Ingress Gateway (including all in-cluster sources), while explicitly allowing inbound traffic from world into the Cilium Ingress Gateway. Tailor the policy narrowly to allow only the required inbound traffic. Include endpointSelector/ingress/workload selectors as appropriate (per the provided policy outline). The outline includes using fromEntities with 'reserved:ingress' and 'world' and a policy that denies all other traffic toward the Cilium Ingress Gateway.

Event History

Mar 24, 2025
CVE Published
via MITRE·06:44 PM
Data Sourced
via MITRE·06:44 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·07:05 PM
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-30162?

CVE-2025-30162 is classified as a significant vulnerability affecting Cilium users utilizing specific configurations.

2

How do I fix CVE-2025-30162?

To fix CVE-2025-30162, update your Cilium installation to version 1.15.15, 1.16.8, or 1.17.2.

3

Who is affected by CVE-2025-30162?

CVE-2025-30162 affects Cilium users who use Gateway API for Ingress and certain load balancing configurations.

4

What impacts can CVE-2025-30162 have on my services?

CVE-2025-30162 can result in unintended blocking of egress traffic from workloads if not addressed properly.

5

Is CVE-2025-30162 a remote or local vulnerability?

CVE-2025-30162 can be exploited remotely under specific configurations involving network policies.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203