Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/corazawaf/coraza/v3
  4. ›
  5. GHSA-g4qm-m288-5cp9

GHSA-g4qm-m288-5cp9: Coraza has Cookie Parser Confusion

October 8, 2026

Coraza’s cookie parser (internal/cookies.ParseCookies) does not strip ASCII control characters (CTLs) from the edges of a cookie name/value before they’re matched against REQUEST_COOKIES / REQUEST_COOKIES_NAMES. When a CTL sits directly next to the = separator, Coraza absorbs it into the adjacent name or value, while several backend cookie parsers trim it away — so the WAF and the application disagree about the cookie it just received.

References

  • github.com/advisories/GHSA-g4qm-m288-5cp9
  • github.com/corazawaf/coraza/commit/0b940e197ad9983fb3aa36e84f1f81ff985461af
  • github.com/corazawaf/coraza/commit/9f8521398d1ff023b958fad0b944cac265763866
  • github.com/corazawaf/coraza/releases/tag/v3.8.1
  • github.com/corazawaf/coraza/security/advisories/GHSA-g4qm-m288-5cp9

Code Behaviors & Features

Detect and mitigate GHSA-g4qm-m288-5cp9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.8.1

Fixed versions

  • 3.8.1

Solution

Upgrade to version 3.8.1 or above.

Impact 4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-436: Interpretation Conflict

Source file

go/github.com/corazawaf/coraza/v3/GHSA-g4qm-m288-5cp9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:24 +0000.