GHSA-xh3c-6gcq-g4rv
multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing
Quick fix
GHSA-xh3c-6gcq-g4rv — multiparty: upgrade to the fixed version with the command below.
npm install multiparty@4.3.0Details
### Impact
multiparty@4.2.3 and lower versions are vulnerable to denial of service via uncaught exception. By sending a `multipart/form-data` request with a `Content-Disposition: filename*=utf-8''` header containing a malformed percent-encoding (e.g., `%FF`, `%GG`), the parser invokes `decodeURI` on the value without try/catch. The resulting `URIError` propagates as an uncaught exception and crashes the process. Any service accepting multipart uploads via multiparty is affected.
### Patches
Users should upgrade to multiparty@4.3.0 or higher.
### Workarounds
None.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/pillarjs/multiparty/security/advisories/GHSA-xh3c-6gcq-g4rv[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-8162[ADVISORY]
- https://cna.openjsf.org/security-advisories.html[WEB]
- https://github.com/pillarjs/multiparty[PACKAGE]
- https://github.com/pillarjs/multiparty/releases/tag/v4.3.0[WEB]