security: update dependency multer to v2.5.0 [SECURITY] (release/1.13) #56

Merged
ff-admin-bot merged 2 commits from renovate/release/1.13-security-updates into release/1.13 2026-10-31 02:31:24 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
multer 2.4.0 → 2.5.0 age confidence

multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown

CVE-2026-113872 / GHSA-q7qp-rjg7-q26m

More information

Details

Impact

When multer is configured with an asynchronous fileFilter, a single request can crash the Node.js process. If a request is aborted (for example when one file is rejected) while another file's async fileFilter is still pending, the pending callback later resumes a parsing stream that multer has already torn down. busboy then emits an error on a stream that no longer has an error listener, which Node raises as an unhandled 'error' event, and the process exits. A single unauthenticated request is enough, so any application using multer with an asynchronous fileFilter is affected, regardless of storage engine. Uploads using a synchronous fileFilter are not affected.

Patches

Users should upgrade to multer 2.5.0 or later.

Workarounds

Use a synchronous fileFilter.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

expressjs/multer (multer)

v2.5.0

Compare Source

  • Fix CVE-2026-113872 (GHSA-q7qp-rjg7-q26m)
  • Accept a field value of exactly limits.fieldSize bytes, so LIMIT_FIELD_VALUE fires only when the limit is exceeded. This also covers the default fieldSize of 1MB, so a 1048576 byte value is no longer rejected when you set no limits. If you set fieldSize one higher to work around this, you can drop the extra one (#​1481)
  • Do not add a file to the abort cleanup list when its storage engine reports an error after a LIMIT_FILE_SIZE abort; DiskStorage no longer tries to unlink an undefined path (#​1489)

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [multer](https://github.com/expressjs/multer) | [`2.4.0` → `2.5.0`](https://renovatebot.com/diffs/npm/multer/2.4.0/2.5.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/multer/2.5.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/multer/2.4.0/2.5.0?slim=true) | --- ### multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown [CVE-2026-113872](https://nvd.nist.gov/vuln/detail/CVE-2026-113872) / [GHSA-q7qp-rjg7-q26m](https://github.com/advisories/GHSA-q7qp-rjg7-q26m) <details> <summary>More information</summary> #### Details ##### Impact When `multer` is configured with an asynchronous `fileFilter`, a single request can crash the Node.js process. If a request is aborted (for example when one file is rejected) while another file's async `fileFilter` is still pending, the pending callback later resumes a parsing stream that multer has already torn down. busboy then emits an error on a stream that no longer has an error listener, which Node raises as an unhandled `'error'` event, and the process exits. A single unauthenticated request is enough, so any application using `multer` with an asynchronous `fileFilter` is affected, regardless of storage engine. Uploads using a synchronous `fileFilter` are not affected. ##### Patches Users should upgrade to `multer` `2.5.0` or later. ##### Workarounds Use a synchronous `fileFilter`. #### Severity - CVSS Score: 7.5 / 10 (High) - Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H` #### References - [https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m](https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m) - [https://nvd.nist.gov/vuln/detail/CVE-2026-113872](https://nvd.nist.gov/vuln/detail/CVE-2026-113872) - [https://github.com/expressjs/multer/commit/80a2d9df1dfd63b5fab631b8b9966164ed647adf](https://github.com/expressjs/multer/commit/80a2d9df1dfd63b5fab631b8b9966164ed647adf) - [https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html) - [https://github.com/expressjs/multer](https://github.com/expressjs/multer) - [https://github.com/expressjs/multer/releases/tag/v2.5.0](https://github.com/expressjs/multer/releases/tag/v2.5.0) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-q7qp-rjg7-q26m) and the [GitHub Advisory Database](https://github.com/github/advisory-database) ([CC-BY 4.0](https://github.com/github/advisory-database/blob/main/LICENSE.md)). </details> --- ### Release Notes <details> <summary>expressjs/multer (multer)</summary> ### [`v2.5.0`](https://github.com/expressjs/multer/blob/HEAD/CHANGELOG.md#250) [Compare Source](https://github.com/expressjs/multer/compare/v2.4.0...v2.5.0) - Fix [CVE-2026-113872](https://www.cve.org/CVERecord?id=CVE-2026-113872) ([GHSA-q7qp-rjg7-q26m](https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m)) - Accept a field value of exactly `limits.fieldSize` bytes, so `LIMIT_FIELD_VALUE` fires only when the limit is exceeded. This also covers the default `fieldSize` of 1MB, so a [`1048576`](https://github.com/expressjs/multer/commit/1048576) byte value is no longer rejected when you set no limits. If you set `fieldSize` one higher to work around this, you can drop the extra one ([#&#8203;1481](https://github.com/expressjs/multer/pull/1481)) - Do not add a file to the abort cleanup list when its storage engine reports an error after a `LIMIT_FILE_SIZE` abort; `DiskStorage` no longer tries to unlink an undefined path ([#&#8203;1489](https://github.com/expressjs/multer/pull/1489)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5OC4wIiwidGFyZ2V0QnJhbmNoIjoicmVsZWFzZS8xLjEzIiwibGFiZWxzIjpbInNlY3VyaXR5Il19-->
security: update dependency multer to v2.5.0 [SECURITY]
Some checks failed
bump-version / bump (pull_request) Has been cancelled
check-version / Version (pull_request) Has been cancelled
ci / Lint (pull_request) Has been cancelled
ci / Build (pull_request) Has been cancelled
ci / Lockfile (pull_request) Has been cancelled
ci / Status im Pull Request (pull_request) Has been cancelled
image-scan / Trivy (pull_request) Has been cancelled
pr-title / Titel (pull_request) Has been cancelled
3e45591ab2
ff-admin-bot scheduled this pull request to auto merge when all checks succeed 2026-10-31 02:28:40 +00:00
release: v1.13.2
All checks were successful
bump-version / bump (pull_request) Successful in 3m7s
check-version / Version (pull_request) Successful in 3m7s
ci / Lint (pull_request) Successful in 3m18s
ci / Build (pull_request) Successful in 3m19s
ci / Lockfile (pull_request) Successful in 3m7s
pr-title / Titel (pull_request) Successful in 3m4s
ci / Status im Pull Request (pull_request) Successful in 3m6s
image-scan / Trivy (pull_request) Successful in 4m1s
1b9a5a3b5c
ff-admin-bot merged commit 277d60a51d into release/1.13 2026-10-31 02:31:24 +00:00
ff-admin-bot deleted branch renovate/release/1.13-security-updates 2026-10-31 02:31:24 +00:00

✅ CI-Prüfung

Prüfung Ergebnis
Lint ✅ bestanden
Build ✅ bestanden
Lockfile ✅ bestanden

Details und Logs: CI-Lauf

<!-- ci-status --> ### ✅ CI-Prüfung | Prüfung | Ergebnis | |---|---| | Lint | ✅ bestanden | | Build | ✅ bestanden | | Lockfile | ✅ bestanden | Details und Logs: [CI-Lauf](https://code.jk-effects.cloud/FF-Admin/ff-operation-server/actions/runs/1534)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
FF-Admin/ff-operation-server!56
No description provided.