NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-64715: Cilium with misconfigured toGroups in policies can lead to unrestricted egress traffic

mediumCVSS 3.1 4.0GHSA-38pp-6gcp-rqvm

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.

Published Dec 1, 2025 · Updated Jul 2, 2026

Affected packages

github.com/cilium/cilium

Ecosystem
Go
Affected
>= 1.18.0, < 1.18.4
Fixed in
1.18.4
Check
go list -m github.com/cilium/cilium

github.com/cilium/cilium

Ecosystem
Go
Affected
< 1.16.17
Fixed in
1.16.17
Check
go list -m github.com/cilium/cilium

github.com/cilium/cilium

Ecosystem
Go
Affected
>= 1.17.0, < 1.17.10
Fixed in
1.17.10
Check
go list -m github.com/cilium/cilium

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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 [[email protected]](mailto:[email protected]). This is a private mailing list for the Cilium security team, and your report will be treated as top priority.

Credited to SeanEmac, fristonio, westonsteimel.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries