# CVE-2026-41504: OWASP Coraza WAF: Native audit-log format allows CRLF injection and log forgery via request body and header fields

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T20:37:27.000Z
- Modified: 2026-10-20T00:40:33.971Z
- Also known as: GHSA-prpw-wwv7-xjjr, GO-2026-6669
- Weaknesses: CWE-93, CWE-117
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- corazawaf coraza: >= 3.0.0, < 3.8.0
- github.com/corazawaf/coraza/v3 (Go): from 3.0.0 before 3.8.0
- github.com/corazawaf/coraza (Go): all versions
- github.com/corazawaf/coraza/v2 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.8 Medium `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> (exploit, advisory, web)
- <https://github.com/corazawaf/coraza/commit/a3079325547c7c1e08522aed4d6468f25d080e25> (fix, web)
- <https://github.com/corazawaf/coraza/releases/tag/v3.8.0> (web)
- <https://github.com/corazawaf/coraza> (package)

## Sources

- CVE List: [CVE-2026-41504](https://www.cve.org/CVERecord?id=CVE-2026-41504), CVE Terms of Use, modified 2026-10-13
- GitHub Advisory Database: [GHSA-prpw-wwv7-xjjr](https://github.com/advisories/GHSA-prpw-wwv7-xjjr), CC-BY-4.0, modified 2026-10-20
- Go Vulnerability Database: [GO-2026-6669](https://pkg.go.dev/vuln/GO-2026-6669), CC-BY-4.0, modified 2026-10-20
- NVD: [CVE-2026-41504](https://nvd.nist.gov/vuln/detail/CVE-2026-41504), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-41504 · Whole record: https://cve.day/CVE-2026-41504.json · Rebuilt by cve.day 2026-11-25T22:59:43.680Z
