A medium-severity NGINX charset module buffer over-read may affect Kong API Gateway Enterprise and Kong AI Gateway Enterprise when response character-set conversion is configured.
Security Advisory: CVE-2026-48142
- 3.15.0.3
- 3.14.0.12
- 3.13.0.9
- 3.12.0.10
- 3.10.0.17
- 3.4.3.29
- 3.15.0.0 to 3.15.0.2
- 3.14.0.0 to 3.14.0.11
- 3.13.0.0 to 3.13.0.8
- 3.12.0.0 to 3.12.0.9
- 3.10.0.0 to 3.10.0.16
- 3.4.0.0 to 3.4.3.28
|
CVE |
Description |
Severity |
Affects Kong |
|---|---|---|---|
| CVE-2026-48142 |
NGINX ngx_http_charset_module heap buffer over-read
|
Medium (CVSS 4.0: 6.3) | Yes |
CVE-2026-48142
Kong API Gateway Enterprise and Kong AI Gateway Enterprise include NGINX/OpenResty and may be affected when response character-set conversion is configured using the NGINX charset module (ngx_http_charset_module).
A remote, unauthenticated attacker with network access to an affected HTTP listener could send crafted requests that, in conjunction with conditions beyond the attacker’s control, trigger a heap buffer over-read in an NGINX worker process. Successful exploitation may result in limited disclosure of process memory or cause the worker process to restart, potentially leading to information exposure, service degradation, or a denial-of-service (DoS) condition.
- Severity: Medium
- CVSS v4.0 score: 6.3
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Am I affected?
You should consider a Kong Gateway deployment affected if all of the following are true:
- Your NGINX configuration sets
source_charsettoutf-8. - A
charsetdirective is configured in the same effective configuration context, for examplesource_charset utf-8;andcharset koi8-r; - The affected configuration applies to content served or proxied through Kong.
- The affected HTTP listener is reachable by untrusted clients or exposed to the internet.
The default Kong configuration sets charset to UTF-8. This setting alone does not meet the published vulnerability conditions because the issue additionally requires source_charset utf-8 to be configured. Deployments that do not configure source_charset are not affected by this issue.
Impacted products
All Kong API Gateway Enterprise versions prior to the patch versions listed in the Patches section.
Patches
The vulnerability is addressed by applying the following patch:
|
Impacted supported versions of Kong API Gateway Enterprise |
Patch |
|---|---|
| 3.15.0.0 - 3.15.0.2 | 3.15.0.3 |
| 3.14.0.0 - 3.14.0.11 | 3.14.0.12 |
| 3.13.0.0 - 3.13.0.8 | 3.13.0.9 |
| 3.12.0.0 - 3.12.0.9 | 3.12.0.10 |
| 3.10.0.0 - 3.10.0.16 | 3.10.0.17 |
| 3.4.0.0 - 3.4.3.28 | 3.4.3.29 |
Contact
If you have questions or need help, open a case with Kong Support or email support@konghq.com.