Malicious Code Execution Vulnerability in uitil Package

uitil Updated 26 Feb 2026

Summary

16/01/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1036: Malicious code in uitil (PyPI). Affects uitil versions 0.1.4 – 0.1.5. 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

The uitil package, available on PyPI, is designed for utility functions in Python applications. However, it has been found to contain malicious code that can execute hidden commands from image files. This vulnerability poses a significant risk to users who may unknowingly execute harmful code while using the package.

Vulnerability Detail

The vulnerability originates from the package's implementation of an undocumented feature that executes code hidden within image files. Specifically, the package scans the current directory for images and attempts to execute any embedded code. This was demonstrated in a GitHub repository where user interaction led to the execution of a command that attempted to download and run code from a potentially malicious domain. The malicious code is intentionally included in the package, making it a serious security threat.

How To Fix

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

pip uninstall uitil

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, avoid using the uitil package until it has been confirmed safe. Additionally, you can manually inspect any image files in your project directory to ensure they do not contain hidden code.

Conclusion

The uitil package contains a serious vulnerability that allows for the execution of malicious code hidden in image files. Users are advised to update or remove the package and monitor their applications for any signs of compromise. Utilizing tools like Vulert can help in identifying such vulnerabilities in real-time.

See every vulnerability recorded for uitil →

Share this vulnerability

FAQ

The uitil package is a utility library for Python that provides various functions to assist developers in their applications.

The vulnerability allows the package to execute hidden commands embedded in image files, which can lead to unauthorized actions on the user's machine.

If you have installed the uitil package, it is recommended to uninstall it immediately and check for any updates or patches.

Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

The consequences can include unauthorized access to your system, data theft, or the execution of malicious commands that could compromise your application.

How To Fix

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

pip uninstall uitil

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