Vulnerability · Published Oct 12, 2026 · Assigned by GitHub_M
CVE-2026-41504OWASP Coraza WAF: Native audit-log format allows CRLF injection and log forgery via request body and header fields
Medium 5.8
In plain English
A medium-severity security flaw in coraza from corazawaf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, the Native audit-log formatter in internal/auditlog/formats.go writes attacker-influenced request and response fields without neutralizing carriage returns or line feeds. When SecAuditLogFormat Native is enabled, injected line breaks can create forged lines inside a transaction record. An attacker who controls request or response body, header, error-message, or matched-rule data can inject carriage returns and line feeds that appear as forged audit lines within a transaction record. The forged content can mislead operators and line-oriented SIEM processing, although the unpredictable transaction boundary prevents straightforward impersonation of a separate complete session. This issue is fixed in version 3.8.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/corazawaf/coraza | no fix listed | GO-2026-6669 |
| Go | github.com/corazawaf/coraza/v2 | no fix listed | GO-2026-6669 |
| Go | github.com/corazawaf/coraza/v3 | 3.8.0 | GHSA-prpw-wwv7-xjjr |
| Go | github.com/corazawaf/coraza/v3 | 3.8.0 | GO-2026-6669 |
Affected products (as reported)
Weakness: CWE-93, CWE-117 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
References
- https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr x_refsource_CONFIRM
- https://github.com/corazawaf/coraza/commit/a3079325547c7c1e08522aed4d6468f25d080e25 x_refsource_MISC
- https://github.com/corazawaf/coraza/releases/tag/v3.8.0 x_refsource_MISC