Security mailing lists by PureSourceCode

CVE-2026-107826

HIGH 7.5CVSS 3.1

Coraza JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)

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
9 Oct 2026
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-674
Also known as
GHSA-6gcq-wc29-5xf2GO-2026-6693
Sources
NVDJSONOSV GHSA-6gcq-wc29-5xf2JSONOSV GO-2026-6693JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/corazawaf/coraza/v3 >= 3.0.0, < 3.8.1 3.8.1
OSV Go github.com/corazawaf/coraza all versions
OSV Go github.com/corazawaf/coraza/v2 all versions

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 9 Oct 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.