CVE-2025-64323: Github.com/kgateway dev/kgateway/v2 Kgateway Is Missing XDS Authorization Vulnerability
MODERATECVE-2025-64323 is a MODERATE (CVSS 5.3) kgateway is missing xds authorization vulnerability (CWE-862: Missing Authorization) affecting Github.com/kgateway dev/kgateway/v2 libraries in the Go ecosystem. The issue involves kgateway is missing xds authorization. Remediation is available by upgrading affected packages to version 2.1.0, 2.0.5.
CVE-2025-64323 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-64323
To remediate this vulnerability, upgrade all affected Github.com/kgateway dev/kgateway/v2 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/kgateway-dev/kgateway/v2 to 2.1.0
Upgrade github.com/kgateway-dev/kgateway/v2 to 2.0.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kgateway-dev/kgateway/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64323, inspect your project dependencies for Github.com/kgateway dev/kgateway/v2:
inspect dependencies for github.com/kgateway-dev/kgateway/v2
Analyze the terminal output to locate any version of Github.com/kgateway dev/kgateway/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.0), 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Github.com/kgateway dev/kgateway/v2, 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-64323 Affected Github.com/kgateway dev/kgateway/v2 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kgateway-dev/kgateway/v2
|
Go |
≥ 2.1.0-agw-cel-rbac
< 2.1.0
|
2.1.0
|
|
github.com/kgateway-dev/kgateway/v2
|
Go |
< 2.0.5
|
2.0.5
|
References
Frequently Asked Questions
What is CVE-2025-64323?
Which Github.com/kgateway dev/kgateway/v2 versions are affected?
What version fixes CVE-2025-64323?
Is github.com/kgateway-dev/kgateway/v2 affected?
What is the CVSS score of CVE-2025-64323?
What CWE is associated with CVE-2025-64323?
How can I check Go dependencies for CVE-2025-64323?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4766-x535-jw3r",
"modified" : "2025-11-17T21:38:28Z",
"published" : "2025-11-04T18:39:31Z",
"aliases" : [ "CVE-2025-64323" ],
"summary" : "kgateway is missing xDS authorization",
"details" : "## Summary\n\nThe 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.\n\n## Description\n\n### Impact\n\nKgateway 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.\n\n### Patches\n\nUpgrade 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.\n\n### Workarounds\n\nIf immediate upgrade is not possible, NetworkPolicies can be used to block access to kgateway's xDS port, restricting network access to only trusted sources.\n\n## References\n\n- Fix in 2.1.0: https://github.com/kgateway-dev/kgateway/pull/12471\n- Backport to 2.0.5: https://github.com/kgateway-dev/kgateway/pull/12535\n- Related issue: https://github.com/kgateway-dev/kgateway/issues/10651\n\n## Credits\n\nKindly reported by @rikatz\n\n## For More Information\n\nIf you have any questions or comments about this advisory, please reach out in slack https://cloud-native.slack.com/archives/C080D3PJMS4",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kgateway-dev/kgateway/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0-agw-cel-rbac"
}, {
"fixed" : "2.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kgateway-dev/kgateway/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/kgateway-dev/kgateway/security/advisories/GHSA-4766-x535-jw3r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64323"
}, {
"type" : "WEB",
"url" : "https://github.com/kgateway-dev/kgateway/issues/10651"
}, {
"type" : "WEB",
"url" : "https://github.com/kgateway-dev/kgateway/pull/12471"
}, {
"type" : "WEB",
"url" : "https://github.com/kgateway-dev/kgateway/pull/12535"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kgateway-dev/kgateway"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-04T18:39:31Z",
"nvd_published_at" : "2025-11-07T04:15:47Z"
}
}