SCA: security update for github.com/corazawaf/coraza/v3 (GHSA-6gcq-wc29-5xf2)

high Tenable Self-Hosted Container Security Plugin ID 473883

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-107826)

Solution

Update the github.com/corazawaf/coraza/v3 library and its related packages to version 3.8.1 or later.

See Also

https://github.com/advisories/GHSA-6gcq-wc29-5xf2

Plugin Details

Severity: High

ID: 473883

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 10/8/2026

Updated: 10/9/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-107826

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/8/2026

Vulnerability Publication Date: 10/8/2026

Reference Information

CVE: CVE-2026-107826

cwe: CWE-674