Malicious Code Vulnerability in py-worm: Persistent Job for Remote Code Execution

py-worm Updated 15 Oct 2026

Summary

15/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17883: Malicious code in py-worm (PyPI). Affects py-worm versions 0.1.0 – 2.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 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 py-worm package, available on PyPI, is designed for various Python functionalities. However, it has been identified to contain malicious code that installs a persistent job on the victim's machine. This job allows attackers to exfiltrate files and execute remote commands, posing a significant security risk to users.

Vulnerability Detail

The vulnerability originates from a malicious campaign identified as 2026-10-agentaix, attributed to the source 'kam193'. The package installs a persistent job that enables attackers to exfiltrate files and execute remote code on the victim's machine. The malicious code includes functionalities for file exfiltration, persistence, and the ability to download and execute remote scripts, making it a Remote Access Trojan (RAT). This poses severe risks, including unauthorized access to sensitive data and system compromise.

How To Fix

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

pip uninstall py-worm

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, users can uninstall the py-worm package to prevent any malicious activity. This can be done using the command: 'pip uninstall py-worm'. Additionally, users should monitor their systems for any unauthorized changes or suspicious activities.

Conclusion

The py-worm package has been identified as containing malicious code that poses significant risks to users. It is crucial to update or uninstall the package to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for py-worm →

Share this vulnerability

FAQ

The vulnerability involves malicious code that allows attackers to exfiltrate files and execute remote commands on the victim's machine.

If you have the py-worm package installed, your system may be at risk. You can use tools like Vulert to monitor and alert for vulnerabilities in your software.

You should immediately uninstall the package and monitor your system for any suspicious activity.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The consequences include unauthorized access to sensitive data, system compromise, and potential data loss due to file exfiltration.

How To Fix

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

pip uninstall py-worm

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