Skip to content
OpenAdvisories
Medium · 5.8 CVE-2026-41504 EUVD-2026-97826GHSA-prpw-wwv7-xjjrGO-2026-6669

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

Published Oct 12, 2026 · Updated Oct 13, 2026 · 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.

Affected products

VendorProductAffectedFixed
corazawaf coraza >= 3.0.0, < 3.8.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/corazawaf/coraza all versions — GO-2026-6669
Go github.com/corazawaf/coraza/v2 all versions — GO-2026-6669
Go github.com/corazawaf/coraza/v3 >= 3.0.0, < 3.8.0 3.8.0 GHSA-prpw-wwv7-xjjr

References