Malicious Code Exfiltration in umap Package - PyPI Vulnerability

umap Updated 31 Dec 2025

Summary

31/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192992: Malicious code in umap (PyPI). Affects umap versions 0.0.0 – 0.1.2. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The umap package, available on PyPI, is designed for dimensionality reduction and data visualization. However, it has been compromised to include malicious code that exfiltrates sensitive information from the host system. The package has no legitimate functionality beyond this malicious intent, making it a significant risk for users who install it.

Vulnerability Detail

The vulnerability originates from the package's code, which is designed to exfiltrate basic information such as the host's IP address and username upon installation. This is achieved by overriding the install command in the setup.py file, allowing the execution of malicious code during the installation process. The risk is categorized as low, but it poses a threat to user privacy and system security.

How To Fix

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

pip uninstall umap

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, users can manually check their Pipfile.lock for any references to the umap package and remove it to prevent accidental installation. Additionally, consider using a virtual environment to isolate dependencies and mitigate risks.

Conclusion

The umap package has been identified as malicious, with the potential to exfiltrate sensitive information from users' systems. It is crucial to uninstall the affected versions and monitor for any signs of compromise. Users are encouraged to utilize tools like Vulert for ongoing vulnerability management.

See every vulnerability recorded for umap →

Share this vulnerability

FAQ

The umap package is a Python library used for dimensionality reduction and data visualization, but it has been compromised to include malicious code.

The vulnerability allows the package to exfiltrate sensitive information such as your IP address and username without your consent.

You should uninstall the umap package immediately and check for any signs of data exfiltration on your system.

Yes, consider using other reputable libraries for dimensionality reduction, such as scikit-learn or t-SNE, which do not have known vulnerabilities.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground without any signup.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

pip uninstall umap

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