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.

Severity (CVSS 3.1)5.8Medium
Exploit odds (30 days)0.4%top 70.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/corazawaf/corazano fix listedGO-2026-6669
Gogithub.com/corazawaf/coraza/v2no fix listedGO-2026-6669
Gogithub.com/corazawaf/coraza/v33.8.0GHSA-prpw-wwv7-xjjr
Gogithub.com/corazawaf/coraza/v33.8.0GO-2026-6669

Affected products (as reported)

VendorProductVersions
corazawaf coraza >= 3.0.0, < 3.8.0

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