CVE-2026-5079 multer vulnerable to Denial of Service via deeply nested field names
- Published
- Updated
- Exploit status
- No public exploit known
Description
Impact: multer versions 1.0.0 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service via deeply nested field names in multipart form data. The append-field dependency parses bracket notation in field names with no limit on nesting depth, allowing an attacker to force allocation of deeply nested object structures that consume CPU and memory. A single HTTP request with a crafted multipart body is sufficient to exploit this.
Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease) and configure the new limits.fieldNestingDepth option to the minimum depth their application requires.
Workarounds: Set limits.fields to a reasonable value to reduce the number of fields an attacker can send per request. This does not fully mitigate the issue but limits the impact.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm multer | >= 1.0.0, < 2.2.0 | 2.2.0 |
| npm multer | >= 3.0.0-alpha.1, < 3.0.0-alpha.2 | 3.0.0-alpha.2 |
| redhat/ansible-automation-platform/automation-portal:1788775748(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1788943531(Red Hat:ansible_portal:2.2::el9) | All versions | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1785332487(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1785332825(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1785411652(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1785972843(Red Hat:rhdh:1.9::el9) | All versions | No fix listed |
| redhat/openshift-logging/vector-rhel9(Red Hat:logging:6) | All versions | No fix listed |
| npm multer(npm) | >= 1.0.0, < 2.2.0 | 2.2.0 |
| npm multer(npm) | >= 3.0.0-alpha.1, < 3.0.0-alpha.2 | 3.0.0-alpha.2 |
| expressjs multer | >= 1.0.0, < 2.2.0 | 2.2.0 |
| expressjs multer | = 3.0.0-alpha1 | No fix listed |
References
- github.com mitigation vendor-advisory
- cna.openjsf.org vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:65118 patch vendor-advisory
- RHSA-2026:66003 patch vendor-advisory
- RHSA-2026:48126 patch vendor-advisory
- RHSA-2026:49642 patch vendor-advisory
- RHSA-2026:52768 patch vendor-advisory
- Red Hat Bugzilla 2488927 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory
- github.com
- Debian Security Tracker CVE-2026-5079 vendor-advisory