GHSA-4766-x535-jw3r
kgateway is missing xDS authorization
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/kgateway-dev/kgateway/v2 | >= 2.1.0-agw-cel-rbac, < 2.1.0 | 2.1.0 |
| Go | github.com/kgateway-dev/kgateway/v2 | < 2.0.5 | 2.0.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
## Summary
The xDS interface in Kgateway versions 2.0.0 through 2.0.4 lacks authentication, allowing any client with unrestricted network access to the xDS port to retrieve potentially sensitive configuration data including certificate data, backend service information, routing rules, and cluster metadata.
## Description
### Impact
Kgateway xDS interface did not have authorization, so anonymous clients with unrestricted network access could gain access to the xDS data. This could expose sensitive information about your gateway configuration, certificate data, backend services, and routing topology to unauthorized parties.
### Patches
Upgrade to version 2.0.5 or 2.1.0. These versions enable JWT-based authentication for the xDS interface by default, ensuring that only authenticated clients can access the xDS configuration data.
### Workarounds
If immediate upgrade is not possible, NetworkPolicies can be used to block access to kgateway's xDS port, restricting network access to only trusted sources.
## References
- Fix in 2.1.0: https://github.com/kgateway-dev/kgateway/pull/12471
- Backport to 2.0.5: https://github.com/kgateway-dev/kgateway/pull/12535
- Related issue: https://github.com/kgateway-dev/kgateway/issues/10651
## Credits
Kindly reported by @rikatz
## For More Information
If you have any questions or comments about this advisory, please reach out in slack https://cloud-native.slack.com/archives/C080D3PJMS4
References
External links from the advisory. They lead to third-party sites.
- https://github.com/kgateway-dev/kgateway/security/advisories/GHSA-4766-x535-jw3r
- https://nvd.nist.gov/vuln/detail/CVE-2025-64323
- https://github.com/kgateway-dev/kgateway/issues/10651
- https://github.com/kgateway-dev/kgateway/pull/12471
- https://github.com/kgateway-dev/kgateway/pull/12535
- https://github.com/kgateway-dev/kgateway