CVE-2025-64715: Github.com/cilium/cilium Cilium With Misconfigured ToGroups Vulnerability
MODERATECVE-2025-64715 is a MODERATE (CVSS 4.0) cilium with misconfigured togroups vulnerability (CWE-284: Improper Access Control) affecting Github.com/cilium/cilium libraries in the Go ecosystem. The issue involves cilium with misconfigured togroups in policies can lead to unrestricted egress traffic. Remediation is available by upgrading affected packages to version 1.18.4, 1.17.10, 1.16.17.
CVE-2025-64715 at a Glance
Security Impact
CVSS: 4.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2025-64715
To remediate this vulnerability, upgrade all affected Github.com/cilium/cilium dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cilium/cilium to 1.18.4
Upgrade github.com/cilium/cilium to 1.17.10
Upgrade github.com/cilium/cilium to 1.16.17
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cilium/cilium
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64715, inspect your project dependencies for Github.com/cilium/cilium:
inspect dependencies for github.com/cilium/cilium
Analyze the terminal output to locate any version of Github.com/cilium/cilium in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.18.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/cilium/cilium, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64715 Affected Github.com/cilium/cilium Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cilium/cilium
|
Go |
≥ 1.18.0
< 1.18.4
|
1.18.4
|
|
github.com/cilium/cilium
|
Go |
≥ 1.17.0
< 1.17.10
|
1.17.10
|
|
github.com/cilium/cilium
|
Go |
< 1.16.17
|
1.16.17
|
References
Frequently Asked Questions
What is CVE-2025-64715?
Which Github.com/cilium/cilium versions are affected?
What version fixes CVE-2025-64715?
Is github.com/cilium/cilium affected?
What is the CVSS score of CVE-2025-64715?
What CWE is associated with CVE-2025-64715?
How can I check Go dependencies for CVE-2025-64715?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-38pp-6gcp-rqvm",
"modified" : "2026-07-02T20:21:05Z",
"published" : "2025-12-01T18:59:54Z",
"aliases" : [ "CVE-2025-64715" ],
"summary" : "Cilium with misconfigured toGroups in policies can lead to unrestricted egress traffic",
"details" : "### Impact\n\n`CiliumNetworkPolicy`s 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.\n\n### Patches\n\nThis issue has been patched in:\n\n* Cilium v1.18.4\n* Cilium v1.17.10\n* Cilium v1.16.17\n\n### This issue affects:\n\n- Cilium v1.18 between v1.18.0 and v1.18.3 inclusive\n- Cilium v1.17 between v1.17.0 and v1.17.9 inclusive\n- Cilium v1.16.16 and below\n\n### Workarounds\n\nThere is no workaround to this issue.\n\n### Acknowledgements\n\nThe 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.\n\n### For more information\n\nIf 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](mailto:security@cilium.io). This is a private mailing list for the Cilium security team, and your report will be treated as top priority.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.18.0"
}, {
"fixed" : "1.18.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.17.0"
}, {
"fixed" : "1.17.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.16.17"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/security/advisories/GHSA-38pp-6gcp-rqvm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64715"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/commit/a385856b59c8289cc7273fa3a3062bbf0ef96c97"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cilium/cilium"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/releases/tag/v1.16.17"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/releases/tag/v1.17.10"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/releases/tag/v1.18.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-01T18:59:54Z",
"nvd_published_at" : "2025-11-29T01:16:01Z"
}
}