Critical Malicious Code Vulnerability in milvus-js Package

milvus-js Updated 12 Jan 2026

Summary

12/01/2026
CRITICAL
No i
Critical
Not published

MAL-2026-229: Malicious code in milvus-js (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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

milvus-js is a JavaScript client for Milvus, an open-source vector database designed for managing and searching large-scale vector data. It allows developers to interact with the Milvus database seamlessly, providing functionalities such as data insertion, querying, and management. However, the milvus-js package has been compromised, leading to a significant security vulnerability that can affect any system using it.

Vulnerability Detail

The milvus-js package contains malicious code that compromises any computer where it is installed. This vulnerability originates from a malicious actor who embedded harmful code within the package, which can lead to unauthorized access and control over the affected system. Users should consider their systems fully compromised, and all sensitive information, including secrets and keys, should be rotated immediately. The malicious code can persist even after the package is removed, posing ongoing risks to system security.

How To Fix

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

npm uninstall milvus-js

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

As a workaround, it is recommended to avoid using the milvus-js package until a secure version is released. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.

Conclusion

The milvus-js package has been identified as containing malicious code, posing a significant security threat to any system using it. Immediate action is required to remove the package and secure sensitive information. Users are encouraged to monitor their dependencies and consider alternatives until a secure version is released.

See every vulnerability recorded for milvus-js →

Share this vulnerability

FAQ

You should remove the milvus-js package immediately 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.

Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.

Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.

While removing the package is essential, there is no guarantee that all malicious software will be removed. It is advisable to perform a thorough security audit of your system.

How To Fix

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

npm uninstall milvus-js

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