Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-107834 EUVD-2026-95927GHSA-rp9v-7xv3-r6g3GO-2026-6697

OWASP Coraza WAF: Resource exhaustion via deferred file handle accumulation in multipart body processor

Published Oct 9, 2026 · Updated Oct 13, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
corazawaf coraza >= 3.0.0, < 3.8.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/corazawaf/coraza all versions — GO-2026-6697
Go github.com/corazawaf/coraza/v2 all versions — GO-2026-6697
Go github.com/corazawaf/coraza/v3 >= 3.0.0, < 3.8.0 3.8.0 GHSA-rp9v-7xv3-r6g3

References