---
id: CVE-2026-41504
title: >-
  OWASP Coraza WAF is a golang modsecurity compatible web application firewall
  library
summary: >-
  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 n…
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'
cwe:
  - CWE-93
  - CWE-117
vendor: corazawaf
product: github.com/corazawaf/coraza/v3
affected:
  - 'github.com/corazawaf/coraza/v3 >= 3.0.0, < 3.8.0'
patched:
  - github.com/corazawaf/coraza/v3 3.8.0
published: '2026-10-12'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:04:29.760'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41504'
references:
  - url: >-
      https://github.com/corazawaf/coraza/commit/a3079325547c7c1e08522aed4d6468f25d080e25
    label: security-advisories@github.com
  - url: 'https://github.com/corazawaf/coraza/releases/tag/v3.8.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr
    label: security-advisories@github.com
  - url: >-
      https://github.com/corazawaf/coraza/security/advisories/GHSA-prpw-wwv7-xjjr
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/corazawaf/coraza'
  - url: 'https://github.com/advisories/GHSA-prpw-wwv7-xjjr'
tags:
  - nvd
  - osv
  - go
  - ghsa
  - cve.org
  - exploit-available
epss: 0.00355
epssPercentile: 0.29009
aliases:
  - GHSA-prpw-wwv7-xjjr
  - GO-2026-6669
ecosystem: go
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-13T17:25:27.532169Z'
ingestedAt: '2026-10-06T21:20:28.991Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-41504)

Affected packages:

- `github.com/corazawaf/coraza/v3 >= 3.0.0, < 3.8.0`

Patched in:

- `github.com/corazawaf/coraza/v3 3.8.0`

Source: https://osv.dev/vulnerability/GHSA-prpw-wwv7-xjjr
