Malicious Code Vulnerability in terminalbrush Package

terminalbrush Updated 21 Jan 2026

Summary

21/01/2026
CRITICAL
No i
Critical
Not published

MAL-2026-444: Malicious code in terminalbrush (PyPI). Affects terminalbrush versions 0.1 – 0.2.4. 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

The terminalbrush package, available on PyPI, is designed for terminal-based applications, providing functionalities that enhance user experience in command-line interfaces. However, it has been identified as having a significant security flaw that allows malicious code execution, posing a risk to users who download and install it.

Vulnerability Detail

The vulnerability originates from the terminalbrush package, which downloads an executable file from an external source and executes it, disguising it as a Python binary. This behavior can lead to the execution of harmful code, potentially compromising user data and system integrity. The specific URL for the executable was inactive at the time of analysis, preventing further investigation into its exact behavior. The campaign associated with this vulnerability is categorized as malicious, indicating clear intent to harm, such as stealing information.

How To Fix

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

pip uninstall terminalbrush

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 should avoid installing the terminalbrush package until a secure version is released. If already installed, it is advisable to uninstall it using the command: pip uninstall terminalbrush.

Conclusion

The terminalbrush package has been identified as having a serious vulnerability that allows for the execution of malicious code. Users are advised to uninstall the package and monitor for any updates or patches. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.

See every vulnerability recorded for terminalbrush →

Share this vulnerability

FAQ

Terminalbrush is a Python package designed to enhance terminal applications, but it has been found to contain malicious code.

The vulnerability allows the package to download and execute malicious executables, which can compromise user data and system security.

If you have installed terminalbrush, it is recommended to uninstall it immediately and monitor for updates or patches.

You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

To prevent similar vulnerabilities, always review package sources, check for community feedback, and utilize tools like Vulert for monitoring.

How To Fix

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

pip uninstall terminalbrush

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