---
id: CVE-2026-107834
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 multipart loop in
  internal/bodyprocessors/multipart.go executes defer temp.Close() for every
  uploaded file part, so each te…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-400
  - CWE-772
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-09'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T18:17:05.007'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107834'
references:
  - url: >-
      https://github.com/corazawaf/coraza/commit/1bc39036e99c88e7de60cf8e6bb55ee4c311223c
    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-rp9v-7xv3-r6g3
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-rp9v-7xv3-r6g3'
tags:
  - nvd
  - ghsa
  - go
aliases:
  - GHSA-rp9v-7xv3-r6g3
ecosystem: go
ingestedAt: '2026-10-09T18:07:39.420Z'
---

## Overview

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, the multipart loop in internal/bodyprocessors/multipart.go executes defer temp.Close() for every uploaded file part, so each temporary-file descriptor remains open until the complete request returns. An unauthenticated attacker can submit a multipart body containing many minimal file parts and exhaust the process file-descriptor table within the request-body size limit, causing os.CreateTemp failures, MULTIPART_STRICT_ERROR responses, blocked legitimate uploads, and process-wide inability to open files or sockets. 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-107834)

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://github.com/advisories/GHSA-rp9v-7xv3-r6g3
