Malicious Code Vulnerability in spark-ml-utilities: Remote Code Execution Risk

spark-ml-utilities Updated 03 Mar 2026

Summary

03/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1224: Malicious code in spark-ml-utilities (PyPI). Affects spark-ml-utilities versions 1.0.0 – 1.0.1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

spark-ml-utilities is a Python package available on PyPI that provides utilities for machine learning tasks. It is designed to simplify the use of Spark's MLlib for Python developers. However, a recent vulnerability has been discovered that allows malicious actors to execute remote code during installation, posing significant security risks to users.

Vulnerability Detail

The vulnerability originates from a malicious campaign identified as '2026-02-urllib-slim'. The affected package contains obfuscated code that, upon installation, downloads and executes remote executables. This behavior is indicative of infostealers, as it attempts to exfiltrate user information through DNS requests. Additionally, it may install a similarly named package from a private repository to cover its tracks. The malicious code is present in versions 1.0.0 and 1.0.1 of the package.

How To Fix

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

pip uninstall spark-ml-utilities

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 workaround, users can avoid installing the affected versions (1.0.0 and 1.0.1) of spark-ml-utilities. Instead, consider using alternative packages or earlier versions that do not contain the malicious code.

Conclusion

The spark-ml-utilities package has been identified as containing malicious code that poses significant security risks. Users are advised to update to a secure version and utilize monitoring tools like Vulert to stay informed about potential vulnerabilities.

See every vulnerability recorded for spark-ml-utilities →

Share this vulnerability

FAQ

The vulnerability involves malicious code that executes remote commands during installation, potentially compromising user systems.

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

If you have installed versions 1.0.0 or 1.0.1, it is crucial to uninstall them immediately and update to a secure version of the package.

The risks include unauthorized access to sensitive information, potential system compromise, and the installation of additional malicious software.

Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure to install packages from trusted sources.

How To Fix

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

pip uninstall spark-ml-utilities

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