Cilium with misconfigured toGroups in policies can lead to unrestricted egress traffic
GHSA-38pp-6gcp-rqvm · BIT-cilium-2025-64715 · BIT-cilium-operator-2025-64715 · BIT-hubble-relay-2025-64715 · CVE-2025-64715 · GO-2025-4167
Published · Modified
Description
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.
References
- WEB https://github.com/cilium/cilium/security/advisories/GHSA-38pp-6gcp-rqvm
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-64715
- WEB https://github.com/cilium/cilium/commit/a385856b59c8289cc7273fa3a3062bbf0ef96c97
- PACKAGE https://github.com/cilium/cilium
- WEB https://github.com/cilium/cilium/releases/tag/v1.16.17
- WEB https://github.com/cilium/cilium/releases/tag/v1.17.10
- WEB https://github.com/cilium/cilium/releases/tag/v1.18.4
Ready to move
Start Securing
Free, no credit card | First findings in minutes