A high-severity SQL injection vulnerability in LLM usage counters affects Kong Gateway Enterprise and Kong AI Gateway.
Security Advisory: CVE-2026-92544
- 3.10.0.20
- 3.13.0.12
- 3.14.0.17
- 3.15.0.7
- 3.16.0.2
- 3.10.0.0 to < 3.10.0.20
- 3.13.0.0 to < 3.13.0.12
- 3.14.0.0 to < 3.14.0.17
- 3.15.0.0 to < 3.15.0.7
- 3.16.0.0 to < 3.16.0.2
- 2.2.1
- 2.2.0
|
CVE |
Description |
Severity |
Affects Kong |
|---|---|---|---|
| CVE-2026-92544 | SQL injection in LLM usage counters through the model name | High (CVSS 4.0: 8.7) | Yes |
CVE-2026-92544
Kong Gateway Enterprise and Kong AI Gateway record LLM usage per model name. The model name is written to the Kong database without proper escaping. Where a client can influence the model name used by an AI plugin, a crafted value may execute arbitrary SQL against the Kong database.
A client can influence the model name when an AI plugin’s model.name isn’t set in its configuration, in which case the model value from the client’s request is used, or when model.name is set from a request-derived template such as $(headers.<name>), $(query_params.<name>), or $(uri_captures.<name>).
The SQL runs with the privileges of the Kong database user, which can read and modify Kong configuration, Consumers, and credentials. In self-managed hybrid deployments with cluster telemetry enabled (the default), a request sent to a data plane results in SQL executing against the control plane database.
- Severity: High
- CVSS v4.0 score: 8.7
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N
- Exploitation: No evidence of exploitation in the wild at this time.
Am I affected?
DB-less deployments and Konnect-managed data planes aren’t affected by the issue.
You should consider a Kong Gateway Enterprise or Kong AI Gateway deployment potentially affected if all of the following are true:
- The deployment runs in traditional mode with a PostgreSQL database, or in self-managed hybrid mode.
- An AI plugin is enabled with
model.namenot set, or withmodel.namecreated from user-controllable input through template parameters. - Clients can send requests to a Route where that AI plugin runs.
Patches
The vulnerability is addressed by applying the patch appropriate for your version:
|
Impacted supported versions of Kong Gateway Enterprise |
Patch |
|---|---|
| 3.10.0.0 - < 3.10.0.20 | 3.10.0.20 |
| 3.13.0.0 - < 3.13.0.12 | 3.13.0.12 |
| 3.14.0.0 - < 3.14.0.17 | 3.14.0.17 |
| 3.15.0.0 - < 3.15.0.7 | 3.15.0.7 |
| 3.16.0.0 - < 3.16.0.2 | 3.16.0.2 |
|
Impacted supported versions of Kong AI Gateway |
Patch |
|---|---|
| 2.2.0 | 2.2.1 |
Kong AI Gateway 2.3 isn’t impacted.
Contact
If you have questions or need help, open a case with Kong Support or email support@konghq.com.