Advisory

GHSA-65x3-rw7q-gx94

Also known as: CVE-2026-8159

Summary

multiparty vulnerable to ReDoS via filename parsing

Details

Impact

[email protected] and lower versions are vulnerable to denial of service via regular expression backtracking in the Content-Disposition filename parameter parser. A multipart upload with a long header value containing !filename="1 repeated can cause regex matching to take seconds, blocking the event loop. Any service accepting multipart uploads via multiparty is affected.

Patches

Users should upgrade to [email protected] or higher.

Workarounds

None. Limiting upload sizes at the proxy/gateway layer reduces but does not eliminate the attack surface, since a small ~8 KB header is sufficient to trigger the vulnerable backtracking.

Resources

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-18 17:40 UTC
Modified
2026-05-18 17:56 UTC

Affected packages and fixes

multiparty

npm · All systems

Affected

  • introduced 0, fixed 4.3.0 (semver)

Fixed versions

4.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences