CVE-2026-104774 OWASP Coraza WAF: jsDecode Off-by-One in Octal Escape Handling Enables WAF Bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Network Appliances
Description
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.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| corazawaf coraza(Go) | >= 3.0.0, < 3.8.0; All versions | 3.8.0 | Partially fixed |
| corazawaf coraza | = >= 3.0.0, < 3.8.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| corazawaf coraza | = >= 3.0.0, < 3.8.0 | No fix listed |
| corazawaf coraza(Go) | >= 3.0.0, < 3.8.0 | 3.8.0 |
| corazawaf coraza(Go) | All versions | No fix listed |
References
- https://github.com/corazawaf/coraza/security/advisories/GHSA-pc5q-qfxp-ggqv exploit vendor-advisory
- https://github.com/corazawaf/coraza/commit/f9b7afdbcedce7ad814663eaee2e342578ea3bb2 patch
- https://github.com/corazawaf/coraza/releases/tag/v3.8.0
- github.com product
- github.com
- ENISA EUVD EUVD-2026-97825 third-party-advisory