CVE-2025-64715
JSON

4.0medium

Cilium with misconfigured toGroups in policies can lead to unrestricted egress traffic

Severity
4.0medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-38pp-6gcp-rqvmBIT-CILIUM-2025-64715BIT-CILIUM-OPERATOR-2025-64715BIT-HUBBLE-RELAY-2025-64715GO-2025-4167

Description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.16.17, 1.17.10, and 1.18.4, CiliumNetworkPolicys which use egress.toGroups.aws.securityGroupsIds to reference AWS security group IDs that do not exist or are not attached to any network interface may unintentionally allow broader outbound access than intended by the policy authors. In such cases, the toCIDRset section of the derived policy is not generated, which means outbound traffic may be permitted to more destinations than originally intended. This issue has been patched in versions 1.16.17, 1.17.10, and 1.18.4. There are no workarounds for this issue.

Affected

Product or packageVersionsReported by
cilium cilium< 1.16.17, >= 1.17.0, < 1.17.10, >= 1.18.0, < 1.18.4, before 1.16.17, from 1.17.0 before 1.17.10, from 1.18.0 before 1.18.4CVE List, NVD
github.com/cilium/cilium (Go)from 1.18.0 before 1.18.4, from 1.17.0 before 1.17.10, before 1.16.17GitHub Advisory Database, Go Vulnerability Database
cilium (Bitnami)before 1.16.17, from 1.17.0 before 1.17.10, from 1.18.0 before 1.18.4Bitnami Vulnerability Database
cilium-operator (Bitnami)before 1.16.17, from 1.17.0 before 1.17.10, from 1.18.0 before 1.18.4Bitnami Vulnerability Database
hubble-relay (Bitnami)before 1.16.17, from 1.17.0 before 1.17.10, from 1.18.0 before 1.18.4Bitnami Vulnerability Database

All scores

GitHub_M4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-284

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.16.17, 1.17.10, and 1.18.4, CiliumNetworkPolicys which use egress.toGroups.aws.securityGroupsIds to reference AWS security group IDs that do not exist or are not attached to any network interface may unintentionally allow broader outbound access than intended by the policy authors. In such cases, the toCIDRset section of the derived policy is not generated, which means outbound traffic may be permitted to more destinations than originally intended. This issue has been patched in versions 1.16.17, 1.17.10, and 1.18.4. There are no workarounds for this issue.

GitHub Advisory Database
Impact

CiliumNetworkPolicys which use egress.toGroups.aws.securityGroupsIds to reference AWS security group IDs that do not exist or are not attached to any network interface may unintentionally allow broader outbound access than intended by the policy authors. In such cases, the toCIDRset section of the derived policy is not generated, which means outbound traffic may be permitted to more destinations than originally intended.

Patches

This issue has been patched in:

  • Cilium v1.18.4
  • Cilium v1.17.10
  • Cilium v1.16.17
This issue affects:
  • Cilium v1.18 between v1.18.0 and v1.18.3 inclusive
  • Cilium v1.17 between v1.17.0 and v1.17.9 inclusive
  • Cilium v1.16.16 and below
Workarounds

There is no workaround to this issue.

Acknowledgements

The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @SeanEmac for reporting this issue and to @fristonio for the patch.

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.

Go Vulnerability Database

Cilium with misconfigured toGroups in policies can lead to unrestricted egress traffic in Ciliumgithub.com/cilium/cilium

NVD (es)

Cilium es una solución de red, observabilidad y seguridad con un plano de datos basado en eBPF. Versiones anteriores a la 1.16.17, 1.17.10 y 1.18.4, las CiliumNetworkPolicys que utilizan egress.toGroups.aws.securityGroupsIds para referenciar IDs de grupos de seguridad de AWS que no existen o no están adjuntos a ninguna interfaz de red pueden permitir, de forma no intencionada, un acceso de salida más amplio del previsto por los autores de la política. En tales casos, la sección toCIDRset de la política derivada no se genera, lo que significa que el tráfico de salida puede permitirse a más destinos de los previstos originalmente. Este problema ha sido parcheado en las versiones 1.16.17, 1.17.10 y 1.18.4. No existen soluciones alternativas para este problema.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-64715 changed 2025-12-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-38pp-6gcp-rqvm changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4167 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-64715 changed 2026-10-19Public domain
Bitnami Vulnerability DatabaseBIT-CILIUM-2025-64715 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-CILIUM-OPERATOR-2025-64715 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-HUBBLE-RELAY-2025-64715 changed 2026-09-08Apache-2.0