Security Advisory: CVE-2026-33948

Published
2026-08-10
Fixed versions
  • 3.15.0.3
  • 3.14.0.12
  • 3.13.0.9
  • 3.12.0.10
  • 3.10.0.17
  • 3.4.3.29
Affected versions
  • 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-33948 jq command-line embedded NUL byte validation bypass Low (CVSS 4.0: 2.9) No

Kong API Gateway Enterprise and Kong AI Gateway Enterprise aren’t affected through their standard jq integration by a low-severity jq command-line validation bypass.

CVE-2026-33948

Kong API Gateway Enterprise and Kong AI Gateway Enterprise include libjq through a Lua integration. Kong does not use the jq command-line input-processing path affected by this vulnerability.

The vulnerability occurs in the jq command-line utility when JSON input is read from a buffer and strlen() is used to determine its length. An embedded NUL byte may cause the command-line parser to validate only the portion of the input preceding the NUL byte while ignoring trailing data.

This behavior could create a validation bypass when the jq command-line utility is used as a security boundary and another component subsequently processes the complete input, including data following the embedded NUL byte.

  • Severity: Low
  • CVSS v4.0 score: 2.9
  • Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Am I affected?

Kong Gateway and Kong AI Gateway Enterprise are not affected through their standard jq integration.

Kong invokes libjq directly from Lua and does not pass input through the affected jq command-line parsing path. As a result, the strlen()-based truncation behavior described in this vulnerability is not present in Kong’s supported libjq execution path.

A deployment should only be considered potentially affected if it independently installs or invokes the jq command-line utility from a custom plugin, external script, container modification, or administrative workflow and relies on that utility to validate input that may contain embedded NUL bytes.

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.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!