Uncaught Exception Affecting multer package, versions <2.3.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MULTER-19432021
  • published30 Aug 2026
  • disclosed29 Aug 2026
  • creditLuke Lucas

Introduced: 29 Aug 2026

NewCVE-2026-77078  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade multer to version 2.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception via the appendField call in make-middleware.js when processing multipart form field names. An attacker submitting a malformed or invalid field name in a multipart upload request causes an unhandled exception that crashes the process. The fix wraps the appendField call in a try/catch and aborts with an INVALID_FIELD_NAME error code instead of propagating the exception.

CVSS Base Scores

version 4.0
version 3.1