{"id":"CVE-2026-41504","summary":"OWASP Coraza WAF: Native audit-log format allows CRLF injection and log forgery via request body and header fields","details":"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.","aliases":["GHSA-prpw-wwv7-xjjr"],"modified":"2026-10-14T02:48:28.239994441Z","published":"2026-10-12T19:59:45.696Z","database_specific":{"cwe_ids":["CWE-117","CWE-93"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41504.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/corazawaf/coraza/releases/tag/v3.8.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41504.json"},{"type":"ADVISORY","url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41504"},{"type":"FIX","url":"https://github.com/corazawaf/coraza/commit/a3079325547c7c1e08522aed4d6468f25d080e25"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/corazawaf/coraza","events":[{"introduced":"ad50864cfa00f5143fff7f6877847326fdc4b394"},{"fixed":"a3079325547c7c1e08522aed4d6468f25d080e25"},{"fixed":"19b86824f5e97eba72b289a81d5b3c1260292ff0"}],"database_specific":{"extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.8.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v3.7.0","v3.6.0","v3.5.0","v3.4.0","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.1","v3.2.0","v3.1.0","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41504.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"}]}