Kong Inc. Kong Gateway Enterprise and Kong AI Gateway cache-key collision can serve the wrong cached response

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-92558?

CVE-2026-92558 is a vulnerability classified as Improper Encoding or Escaping of Output, affecting Kong Gateway Enterprise (affected versions: 3.10.0.0 – < 3.10.0.20, 3.13.0.0 – < 3.13.0.12, and other affected versions) and Kong AI Gateway (affected versions: 2.2.0 – < 2.2.1). This vulnerability is rated Medium, with a CVSS score of 6.3. There is not enough data to determine whether this vulnerability has been exploited.

Overview

Original source data

The proxy-cache and proxy-cache-advanced plugins in Kong Gateway Enterprise and Kong AI Gateway do not escape separator characters when building the cache key, allowing a remote attacker to cause a response cached for one request to be served for a different request on the same Route.

Affected products and scope

  • Kong Gateway Enterprise: versions from 3.10.0.0 through versions less than 3.10.0.20 are affected; Kong identifies 3.10.0.20 as the fixing release for this branch.
  • Kong Gateway Enterprise: versions from 3.13.0.0 through versions less than 3.13.0.12 are affected; Kong identifies 3.13.0.12 as the fixing release for this branch.
  • Kong Gateway Enterprise: versions from 3.14.0.0 through versions less than 3.14.0.17 are affected; Kong identifies 3.14.0.17 as the fixing release for this branch.
  • Kong Gateway Enterprise: versions from 3.15.0.0 through versions less than 3.15.0.7 are affected; Kong identifies 3.15.0.7 as the fixing release for this branch.
  • Kong Gateway Enterprise: versions from 3.16.0.0 through versions less than 3.16.0.2 are affected; Kong identifies 3.16.0.2 as the fixing release for this branch.
  • Kong AI Gateway: version 2.2.0 is affected; Kong identifies 2.2.1 as the fixing release.

The record sets default_status to unaffected for these products, but branches outside the listed ranges are not separately confirmed by the available evidence.

Technical details

The proxy-cache and proxy-cache-advanced plugins build cache keys without escaping separator characters. As a result, attacker-controlled request values can cause two distinct requests to resolve to the same cache key, allowing the cached response for one request to be returned for another request on the same Route. The affected plugin must be enabled and the request must use a caching path where the malformed key is used. The record does not identify every cache-key field or the specific separator characters; the Kong AI Gateway changelog describes the fix as digesting every cache-key field and component to a fixed-length value before joining them, which prevents distinct requests from resolving to the same key. This is an improper output encoding or escaping weakness classified as CWE-116.

Exploitability

The flaw is remotely reachable over the network when a request is handled by an affected plugin on a vulnerable Route. The supplied attack characteristics indicate that authentication and user interaction are not required and that the attack complexity is low. They also indicate that an additional attack requirement is present, but the operational condition is not described. The available evidence does not establish active exploitation or a public exploit for this flaw.

Technical impact

The flaw creates a cache-key collision, allowing Kong to select a stored response for a different request instead of generating or retrieving the correct response for the current request. The technical effect is bounded by the description to requests on the same Route and depends on the affected plugin, caching behavior, and relevant request values being used together. Organisations may face incorrect responses, inconsistent business data, or client-side application errors. The record does not describe code execution, privilege escalation, or direct confidentiality impact, and active exploitation has not been established.

Business impact

  • Clients may receive content or results that do not correspond to their requests on the same Route.
  • APIs or services that rely on cached responses may make incorrect decisions, return unexpected content, or generate operational errors.
  • The practical impact depends on the types of responses being cached, the request values included in the cache key, and the scope of affected Routes.
  • The available evidence does not describe a specific data breach, attack campaign, or victim; those scenarios should not be inferred from this flaw alone.

Remediation

  1. Upgrade Kong Gateway Enterprise according to the deployed branch: use 3.10.0.20 for the 3.10 branch, 3.13.0.12 for the 3.13 branch, 3.14.0.17 for the 3.14 branch, 3.15.0.7 for the 3.15 branch, or 3.16.0.2 for the 3.16 branch.
  2. Upgrade Kong AI Gateway from 2.2.0 to 2.2.1.
  3. After upgrading, verify the effective version on every traffic-handling node and review Routes that enable proxy-cache or proxy-cache-advanced.
  4. Do not assume that a fix for one branch applies to another branch or to every later version that is not explicitly covered. The available evidence does not provide a vendor-specific interim mitigation for deployments that cannot yet be upgraded.

Detection

  • Inventory Kong Gateway Enterprise and Kong AI Gateway deployments, then identify Routes using proxy-cache or proxy-cache-advanced.
  • Compare deployed versions with the affected branch boundaries in the record rather than checking only major or minor versions.
  • Review cache configuration and Route scope to identify where responses for multiple requests can be stored and reused.
  • If request, response, and cache telemetry is available, review the same Route for responses that do not match the corresponding request or for different requests receiving the same cached content. This is a precautionary review, not a vendor-confirmed indicator of compromise.
  • No specific indicator or distinctive log event is provided. The absence of such evidence in logs does not prove that a deployment is safe.
Sources (7)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.