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 package | Versions | Reported 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.4 | CVE 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.17 | GitHub 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.4 | Bitnami Vulnerability Database |
| cilium-operator (Bitnami) | before 1.16.17, from 1.17.0 before 1.17.10, from 1.18.0 before 1.18.4 | Bitnami Vulnerability Database |
| hubble-relay (Bitnami) | before 1.16.17, from 1.17.0 before 1.17.10, from 1.18.0 before 1.18.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 4.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://github.com/cilium/cilium/security/advisories/GHSA-38pp-6gcp-rqvm | advisory, patch, vendor-advisory, web | |
| https://github.com/cilium/cilium/commit/a385856b59c8289cc7273fa3a3062bbf0ef96c97 | fix, patch, web | |
| https://github.com/cilium/cilium/releases/tag/v1.16.17 | article, release-notes, web | |
| https://github.com/cilium/cilium/releases/tag/v1.17.10 | article, release-notes, web | |
| https://github.com/cilium/cilium/releases/tag/v1.18.4 | article, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-64715 | advisory, web | |
| https://github.com/cilium/cilium | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64715 changed 2025-12-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-38pp-6gcp-rqvm changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4167 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-64715 changed 2026-10-19 | Public domain |
| Bitnami Vulnerability Database | BIT-CILIUM-2025-64715 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-CILIUM-OPERATOR-2025-64715 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-HUBBLE-RELAY-2025-64715 changed 2026-09-08 | Apache-2.0 |