# CVE-2026-107835: OWASP Coraza WAF: Cookie Parser Confusion

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.0
- **CVSS:** 4.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.37% (percentile 23, 2026-11-28)
- **CWE:** CWE-436
- **Aliases:** GHSA-g4qm-m288-5cp9, GO-2026-6694
- **Published:** 2026-10-08T17:51:30.000Z
- **Modified:** 2026-10-19T21:40:49.823Z

## Who should check

- Projects that depend on Go package github.com/corazawaf/coraza/v3 (\< 3.8.1)
- Projects that depend on Go package github.com/corazawaf/coraza
- Projects that depend on Go package github.com/corazawaf/coraza/v2
- Anyone running corazawaf coraza \< 3.8.1

## Description

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.

## Affected and fixed versions

- Go `github.com/corazawaf/coraza/v3`: affected \< 3.8.1; fixed 3.8.1 (osv)
- Go `github.com/corazawaf/coraza`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/corazawaf/coraza/v2`: affected see advisory; fixed no fix listed yet (osv)
- corazawaf coraza: \< 3.8.1 (cvelist)

## Mitigation

- Upgrade github.com/corazawaf/coraza/v3 to 3.8.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-107835. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-107835.md
Affected: github.com/corazawaf/coraza/v3 < 3.8.1; github.com/corazawaf/coraza; github.com/corazawaf/coraza/v2
Fixed in: 3.8.1

Steps:
1. Search this machine and project for github.com/corazawaf/coraza/v3 (Go), github.com/corazawaf/coraza (Go), github.com/corazawaf/coraza/v2 (Go), corazawaf coraza: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-107835 being exploited?

There is no confirmed exploitation: CVE-2026-107835 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-107835?

Medium: CVSS 4.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-107835?

github.com/corazawaf/coraza/v3 \< 3.8.1; github.com/corazawaf/coraza; github.com/corazawaf/coraza/v2.

### Is there a fix for CVE-2026-107835?

Yes. Fixed in 3.8.1. Upgrade github.com/corazawaf/coraza/v3 to 3.8.1 or later.

### How do I check if I'm affected by CVE-2026-107835?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/corazawaf/coraza/security/advisories/GHSA-g4qm-m288-5cp9>
- patch: <https://github.com/corazawaf/coraza/commit/0b940e197ad9983fb3aa36e84f1f81ff985461af>
- patch: <https://github.com/corazawaf/coraza/commit/9f8521398d1ff023b958fad0b944cac265763866>
- other: <https://github.com/corazawaf/coraza/releases/tag/v3.8.1>
- other: <https://github.com/corazawaf/coraza>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-107835>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g4qm-m288-5cp9> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6694> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-107835> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-107835>
