Critical Malicious Code Vulnerability in multer-cli Package

multer-cli Updated 02 Dec 2025

Summary

02/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191549: Malicious code in multer-cli (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

multer-cli is a command-line interface for the multer middleware, which is used in Node.js applications for handling multipart/form-data, primarily for file uploads. The package simplifies the process of using multer in various scenarios, making it easier for developers to manage file uploads in their applications. However, it has recently been discovered that this package contains malicious code that compromises the security of any system where it is installed.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within the multer-cli package, which has been identified as a serious threat. Any system running this package is considered fully compromised, allowing unauthorized access to sensitive information, including secrets and keys stored on the affected computer. The malicious code can lead to data breaches and potential exploitation by external entities, making it imperative for users to take immediate action.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall multer-cli

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package entirely. Users should ensure that they do not rely on multer-cli until a secure version is released.

Conclusion

The discovery of malicious code within the multer-cli package poses a significant security risk to any system using it. Immediate action is required to uninstall the package and secure sensitive information. Users should remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for multer-cli →

Share this vulnerability

FAQ

You should immediately uninstall the multer-cli package and rotate any sensitive information stored on your system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Currently, there is no patched version available for the multer-cli package. Users are advised to remove it entirely.

Failing to address this vulnerability can lead to unauthorized access to sensitive data, potential data breaches, and exploitation by malicious actors.

Vulert monitors and alerts users in real-time for open-source vulnerabilities using just the package-lock.json file, providing an easy way to stay informed about potential risks.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall multer-cli

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback