CVE-2025-64323: Github.com/kgateway dev/kgateway/v2 Kgateway Is Missing XDS Authorization Vulnerability

MODERATE
Advisory Identifier: GHSA-4766-x535-jw3r
CVSS 5.3
CWE-862
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-64323
GHSA Identifier GHSA-4766-x535-jw3r
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-862: Missing Authorization
Affected Product Github.com/kgateway dev/kgateway/v2
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Adjacent (AV:A)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

github.com/kgateway-dev/kgateway/v2 fixed: 2.1.0
Upgrade github.com/kgateway-dev/kgateway/v2 to 2.1.0
github.com/kgateway-dev/kgateway/v2 fixed: 2.0.5
Upgrade github.com/kgateway-dev/kgateway/v2 to 2.0.5
Verify Direct and Transitive Dependencies

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

## 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

CVE-2025-64323 Affected Github.com/kgateway dev/kgateway/v2 Versions

2 component(s)
Fixed Versions:
2.1.02.0.5
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?
CVE-2025-64323 is a security vulnerability in Github.com/kgateway dev/kgateway/v2 involving kgateway is missing xDS authorization under CWE-862: Missing Authorization.
Which Github.com/kgateway dev/kgateway/v2 versions are affected?
Affected versions include releases prior to 2.1.0, 2.0.5 across affected packages: github.com/kgateway-dev/kgateway/v2.
What version fixes CVE-2025-64323?
Upgrading to 2.1.0, 2.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kgateway-dev/kgateway/v2 affected?
Yes, github.com/kgateway-dev/kgateway/v2 is affected in releases prior to 2.1.0, 2.0.5. Upgrade your dependency to 2.1.0, 2.0.5 or later.
What is the CVSS score of CVE-2025-64323?
CVE-2025-64323 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-64323?
CVE-2025-64323 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for CVE-2025-64323?
Run the dependency tree command: 'inspect dependencies for github.com/kgateway-dev/kgateway/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}