---
id: CVE-2026-107835
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. Prior to 3.8.1, internal/cookies.ParseCookies in
  internal/cookies/cookies.go handles boundary ASCII control characters and
  control-only or empty cookie…
severity: medium
cvss: 4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N'
cwe:
  - CWE-436
vendor: corazawaf
product: github.com/corazawaf/coraza/v3
affected:
  - github.com/corazawaf/coraza/v3 < 3.8.1
patched:
  - github.com/corazawaf/coraza/v3 3.8.1
published: '2026-10-09'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T17:16:41.300'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107835'
references:
  - url: >-
      https://github.com/corazawaf/coraza/commit/0b940e197ad9983fb3aa36e84f1f81ff985461af
    label: security-advisories@github.com
  - url: >-
      https://github.com/corazawaf/coraza/commit/9f8521398d1ff023b958fad0b944cac265763866
    label: security-advisories@github.com
  - url: 'https://github.com/corazawaf/coraza/releases/tag/v3.8.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/corazawaf/coraza/security/advisories/GHSA-g4qm-m288-5cp9
    label: security-advisories@github.com
  - url: >-
      https://github.com/corazawaf/coraza/security/advisories/GHSA-g4qm-m288-5cp9
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/corazawaf/coraza'
tags:
  - nvd
  - osv
  - go
  - cve.org
  - exploit-available
epss: 0.00298
epssPercentile: 0.22388
aliases:
  - GHSA-g4qm-m288-5cp9
  - GO-2026-6694
ecosystem: go
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-09T18:23:53.273353Z'
ingestedAt: '2026-10-09T19:09:33.754Z'
---

## Overview

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. Prior to 3.8.1, internal/cookies.ParseCookies in internal/cookies/cookies.go handles boundary ASCII control characters and control-only or empty cookie names differently from several backend cookie parsers. An unauthenticated attacker can craft a Cookie header so Coraza indexes or drops a cookie under a different name or value from the backend application, causing rules targeting REQUEST_COOKIES or REQUEST_COOKIES_NAMES to miss application-visible attacker data. Exploitation depends on the backend parser and affected rule scope, and interior control characters with inconsistent backend behavior are outside this advisory's remediation. This issue is fixed in version 3.8.1.

## Remediation

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

## Package advisory (CVE-2026-107835)

Affected packages:

- `github.com/corazawaf/coraza/v3 < 3.8.1`

Patched in:

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

Source: https://osv.dev/vulnerability/GHSA-g4qm-m288-5cp9
