Security mailing lists by PureSourceCode

CVE-2026-104774

MEDIUM 5.8CVSS 3.1

Coraza: jsDecode Off-by-One in Octal Escape Handling Enables WAF Bypass

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, the t:jsDecode transformation in internal/transformations/js_decode.go:64-70 includes the backslash in the octal buffer, causing ParseInt to fail and return a null byte. The flaw is triggered when a rule relies on t:jsDecode and the request contains JavaScript octal escape sequences. An unauthenticated attacker can encode attack syntax with JavaScript octal escapes so the backend decodes the intended bytes while Coraza rules using t:jsDecode inspect corrupted null-byte output. The mismatch can bypass WAF rules and expose the protected application to attacks such as cross-site scripting or SQL injection. This issue is fixed in version 3.8.0.

Published
12 Oct 2026
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-172CWE-193CWE-693
Also known as
GHSA-pc5q-qfxp-ggqvGO-2026-6696
Sources
NVDJSONOSV GHSA-pc5q-qfxp-ggqvJSONOSV GO-2026-6696JSON

Scores

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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/corazawaf/coraza/v3 >= 3.0.0, < 3.8.0 3.8.0
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 12 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.