{"id":"CVE-2026-41504","state":"PUBLISHED","title":"OWASP Coraza WAF: Native audit-log format allows CRLF injection and log forgery via request body and header fields","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.","publishedAt":"2026-10-12T19:59:45.696Z","updatedAt":"2026-10-13T17:26:41.295Z","severity":{"score":5.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["corazawaf coraza"],"affected":[{"vendor":"corazawaf","product":"coraza","versions":[{"version":">= 3.0.0, < 3.8.0","status":"affected"}]}],"references":["https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr","https://github.com/corazawaf/coraza/commit/a3079325547c7c1e08522aed4d6468f25d080e25","https://github.com/corazawaf/coraza/releases/tag/v3.8.0"],"weaknesses":["CWE-93","CWE-117"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41504.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41504","state":"PUBLISHED","datePublished":"2026-10-12T19:59:45.696Z","dateUpdated":"2026-10-13T17:26:41.295Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-20T18:18:50.680Z"},"containers":{"cna":{"title":"OWASP Coraza WAF: Native audit-log format allows CRLF injection and log forgery via request body and header fields","descriptions":[{"lang":"en","value":"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":[{"vendor":"corazawaf","product":"coraza","versions":[{"version":">= 3.0.0, < 3.8.0","status":"affected"}]}],"references":[{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr","name":"https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/corazawaf/coraza/commit/a3079325547c7c1e08522aed4d6468f25d080e25","name":"https://github.com/corazawaf/coraza/commit/a3079325547c7c1e08522aed4d6468f25d080e25","tags":["x_refsource_MISC"]},{"url":"https://github.com/corazawaf/coraza/releases/tag/v3.8.0","name":"https://github.com/corazawaf/coraza/releases/tag/v3.8.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-93","lang":"en","description":"CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-117","lang":"en","description":"CWE-117: Improper Output Neutralization for Logs","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-12T19:59:45.696Z"},"source":{"advisory":"GHSA-prpw-wwv7-xjjr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-13T17:25:27.532169Z","id":"CVE-2026-41504","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-13T17:26:41.295Z"}}]}}}