Description
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.1, readJSON in internal/bodyprocessors/json.go can stop its bounded flattening walk after reaching SecArgumentsLimit or the byte budget and then call gjson.Valid on the complete raw body. An unauthenticated attacker can submit shallow values followed by an extremely deeply nested JSON tail that was not visited by the bounded walk, causing gjson.Valid to recurse without a depth bound and terminate the hosting process with an unrecoverable fatal stack overflow. The ProcessRequest and ProcessResponse JSON paths share the affected readJSON validation flow, and the payload can remain within recommended body-size and argument-count limits. This issue is fixed in version 3.8.1.
Published: 2026-10-09
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via stack overflow causing process crash
Action: Apply Patch
AI Analysis

Impact

The vulnerability is in the JSON body processor of OWASP Coraza WAF. From version 3.0.0 through 3.8.0 the readJSON function limits its flattening walk after reaching SecArgumentsLimit or a byte budget, then calls gjson.Valid on the raw body. An unauthenticated attacker can supply shallow JSON values that meet the argument limit and then add an extremely deeply nested JSON structure that is not processed by the bounded walk. gjson.Valid recurses without a depth bound, resulting in an unrecoverable stack overflow that crashes the host process. The crash leads to a denial of service.

Affected Systems

Corazawaf:Coraza web application firewall library, versions 3.0.0 up to and including 3.8.0 (fixed in 3.8.1).

Risk and Exploitability

The CVSS score of 7.5 classifies this as a high severity flaw. The exploit is possible with no authentication and requires the ability to send HTTP requests containing a JSON payload that respects body-size and argument-count limits but contains an excessively nested suffix. Although EPSS data is not available and the issue is not listed in the CISA KEV catalog, the lack of authentication and ease of payload composition make this a likely risk in deployed environments.

Generated by OpenCVE AI on October 9, 2026 at 18:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coraza WAF to version 3.8.1 or newer, which includes a fix that limits gjson.Valid recursion.
  • If an upgrade is not immediately feasible, enforce a stricter maximum JSON depth or reject requests that exceed a safe nesting threshold, effectively preventing the unbounded recursion.
  • Continuously monitor application logs for unexpected crashes and verify that the server process is restarting or investigating issues promptly.

Generated by OpenCVE AI on October 9, 2026 at 18:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6gcq-wc29-5xf2 Coraza JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)
History

Sun, 11 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Coraza
Coraza coraza
Vendors & Products Coraza
Coraza coraza

Fri, 09 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 09 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Description OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.1, readJSON in internal/bodyprocessors/json.go can stop its bounded flattening walk after reaching SecArgumentsLimit or the byte budget and then call gjson.Valid on the complete raw body. An unauthenticated attacker can submit shallow values followed by an extremely deeply nested JSON tail that was not visited by the bounded walk, causing gjson.Valid to recurse without a depth bound and terminate the hosting process with an unrecoverable fatal stack overflow. The ProcessRequest and ProcessResponse JSON paths share the affected readJSON validation flow, and the payload can remain within recommended body-size and argument-count limits. This issue is fixed in version 3.8.1.
Title OWASP Coraza WAF: JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-09T17:55:14.751Z

Reserved: 2026-10-08T21:23:59.824Z

Link: CVE-2026-107826

cve-icon Vulnrichment

Updated: 2026-10-09T17:54:52.263Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-09T18:17:04.673

Modified: 2026-10-16T17:16:41.300

Link: CVE-2026-107826

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T12:00:16Z

Weaknesses