Malicious Code Exfiltration in dataflux-pytorch Package

dataflux-pytorch Updated 20 Mar 2026

Summary

20/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1988: Malicious code in dataflux-pytorch (PyPI). Affects dataflux-pytorch versions 9.9.9. 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

dataflux-pytorch is a Python package available on PyPI, designed for data processing and machine learning tasks. It is intended to facilitate the use of PyTorch for data manipulation and analysis. However, this package has been found to contain malicious code that compromises user data security by exfiltrating sensitive information from the host system.

Vulnerability Detail

The vulnerability originates from the package's installation process, where it overrides the install command in setup.py to execute malicious code. This code is designed to exfiltrate basic information about the host, such as the IP address and username, posing a risk to user privacy and system security. The package has no legitimate functionality beyond this malicious intent, making it a significant threat to users who install it.

How To Fix

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

pip uninstall dataflux-pytorch

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 temporary measure, avoid installing the dataflux-pytorch package altogether. If you have already installed it, remove it immediately using the command: 'pip uninstall dataflux-pytorch'. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The dataflux-pytorch package has been identified as containing malicious code that exfiltrates sensitive information from users' systems. It is essential to uninstall this package and avoid using it until a secure version is released. Users should remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their software.

See every vulnerability recorded for dataflux-pytorch →

Share this vulnerability

FAQ

dataflux-pytorch is a Python package designed for data processing and machine learning tasks using PyTorch.

The vulnerability involves the exfiltration of sensitive information such as IP addresses and usernames from the host system during the package installation.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If you have installed the dataflux-pytorch package, you should uninstall it immediately using the command: 'pip uninstall dataflux-pytorch'.

Yes, consider using other data processing libraries that do not have known vulnerabilities, such as pandas or NumPy, depending on your specific needs.

How To Fix

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

pip uninstall dataflux-pytorch

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