Critical Malicious Code Vulnerability in n8n-performance-metrics Package
Summary
MAL-2026-69: Malicious code in n8n-performance-metrics (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The n8n-performance-metrics package is an npm module designed to enhance the performance monitoring capabilities of n8n, an open-source workflow automation tool. This package is intended for developers looking to track and optimize the performance of their n8n workflows. However, it has been found to contain 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 n8n-performance-metrics package. This code can grant unauthorized access to the system, allowing attackers to potentially control the affected machine. The ramifications of this vulnerability are severe, as it can lead to data breaches, loss of sensitive information, and complete system compromise. Users are advised to treat any system with this package installed as fully compromised, necessitating immediate action to secure their environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall n8n-performance-metrics
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Ensure that you monitor your systems for any unusual activity after removal.
Conclusion
The n8n-performance-metrics package contains malicious code that poses a serious security threat to any system where it is installed. Users must take immediate action to remove the package and secure their systems. Regular monitoring of dependencies is essential to prevent future vulnerabilities.
See every vulnerability recorded for n8n-performance-metrics →
FAQ
Immediately uninstall the package using 'npm uninstall n8n-performance-metrics' and rotate any sensitive credentials stored on the affected machine.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Keeping this package installed poses significant risks, including unauthorized access to your system, data breaches, and potential loss of sensitive information.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Vulert is a service that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, ensuring you stay informed about potential security risks.