5.3medium
kgateway is missing xDS authorization
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.21% (higher than 6% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-4766-x535-jw3rGO-2025-4094
Description
kgateway is a Cloud-Native API and AI Gateway. Versions 2.0.4 and below and 2.1.0-agw-cel-rbac through 2.1.0-rc.2 lack 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. This issue is solved in versions 2.0.5 and 2.1.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kgateway-dev kgateway | >= 2.1.0-agw-cel-rbac, < 2.1.0, < 2.0.5 | CVE List |
| github.com/kgateway-dev/kgateway/v2 (Go) | from 2.1.0-agw-cel-rbac before 2.1.0, before 2.0.5 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/kgateway-dev/kgateway (Go) | all versions | Go Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
kgateway is a Cloud-Native API and AI Gateway. Versions 2.0.4 and below and 2.1.0-agw-cel-rbac through 2.1.0-rc.2 lack 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. This issue is solved in versions 2.0.5 and 2.1.0.
GitHub Advisory Database
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
Go Vulnerability Database
kgateway is missing xDS authorization in github.com/kgateway-dev/kgateway
NVD (es)
kgateway es un Gateway de API e IA nativo de la nube. Las versiones 2.0.4 e inferiores y de la 2.1.0-agw-cel-rbac a la 2.1.0-rc.2 carecen de autenticación, lo que permite a cualquier cliente con acceso de red sin restricciones al puerto xDS recuperar datos de configuración potencialmente sensibles, incluyendo datos de certificados, información de servicios de backend, reglas de enrutamiento y metadatos de clúster. Este problema se resuelve en las versiones 2.0.5 y 2.1.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64323 changed 2025-11-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4766-x535-jw3r changed 2025-11-17 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4094 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-64323 changed 2026-06-17 | Public domain |