Critical Reverse Shell Vulnerability in evil-rce Package

evil-rce Updated 06 Dec 2025

Summary

06/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192351: Malicious code in evil-rce (PyPI). Affects evil-rce versions 1.0.0. 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 evil-rce package, available on PyPI, is designed for remote code execution tasks. However, it has been found to contain malicious code that creates a reverse shell, allowing attackers to execute arbitrary commands on the victim's machine. This vulnerability poses a significant risk to users who inadvertently install this package, as it can lead to unauthorized access and control over their systems.

Vulnerability Detail

The vulnerability originates from malicious code embedded in the evil-rce package, specifically designed to initiate a reverse shell upon execution. This allows an attacker to gain control over the victim's machine, executing any commands remotely. The implications of this vulnerability are severe, as it can lead to data theft, system compromise, and further exploitation of the affected system. The malicious code was identified in version 1.0.0 of the package, and it is crucial for users to be aware of this risk to protect their systems.

How To Fix

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

pip uninstall evil-rce

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 should refrain from using the evil-rce package and consider alternative packages that provide similar functionality without the associated risks. Additionally, monitoring tools like Vulert can be employed to keep track of vulnerabilities in your dependencies. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.

Conclusion

The evil-rce package contains a critical vulnerability that allows for remote code execution through a reverse shell. Users are strongly advised to uninstall this package and monitor their systems for any unauthorized access. Utilizing tools like Vulert can help in identifying and managing vulnerabilities in open-source software.

See every vulnerability recorded for evil-rce →

Share this vulnerability

FAQ

The evil-rce package is a Python package available on PyPI that is intended for remote code execution tasks.

The reverse shell vulnerability allows an attacker to execute arbitrary commands on the victim's machine, leading to potential system compromise.

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

No, there is currently no patched version of the evil-rce package available. It is recommended to uninstall it immediately.

If you have installed evil-rce, you should uninstall it using the command: pip uninstall evil-rce.

How To Fix

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

pip uninstall evil-rce

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