GitHub Advisoryadvisory · Go

GHSA-4766-x535-jw3r kgateway is missing xDS authorization

MEDIUM Published 2025-11-04 Modified 2025-11-17 Official page ↗
Aliases
CVE-2025-64323
Ecosystem
Go
Packages
github.com/kgateway-dev/kgateway/v2
Severity
Moderate
CVSS vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-862
Reviewed
2025-11-04

Affected packages

• Go github.com/kgateway-dev/kgateway/v2: >= 2.1.0-agw-cel-rbac, < 2.1.0 → fixed in 2.1.0 • Go github.com/kgateway-dev/kgateway/v2: < 2.0.5 → fixed in 2.0.5

Description

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

Related

Alias · CVE (1)

  • CVE-2025-64323 kgateway is a Cloud-Native API and AI Gateway. vulnerability

Weakness · CWE (1)

  • CWE-862 Missing Authorization weakness

References