Malicious Code Exploit in Printrables Package: A Security Threat

printrables Updated 20 Feb 2026

Summary

20/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-951: Malicious code in printrables (PyPI). Affects printrables versions 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Printrables is a Python package available on the PyPI repository, designed to facilitate various printing functionalities within Python applications. However, it has been compromised, containing hidden malicious code that executes upon import, posing significant security risks to users.

Vulnerability Detail

The vulnerability originates from a malicious actor identified as 'kam193', who has embedded hidden code within the Printrables package. This code activates during the library's importation, subsequently downloading additional malicious scripts. The compromised package establishes a background process that connects to remote servers, awaiting further commands to execute on the victim's machine. This poses severe risks, including unauthorized data access and potential system compromise.

How To Fix

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

pip uninstall printrables

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 are advised to avoid using the Printrables package until a patch is confirmed. If the package is essential, consider isolating its use in a controlled environment to minimize exposure to potential threats.

Conclusion

The Printrables package has been identified as containing malicious code that poses significant security threats. Users are strongly advised to update to the latest version or implement workarounds to protect their systems. Regular monitoring for vulnerabilities is crucial for maintaining software security.

See every vulnerability recorded for printrables →

Share this vulnerability

FAQ

Printrables is a Python package designed to assist with various printing tasks in Python applications.

The package was compromised by embedding malicious code that executes upon import, allowing for unauthorized remote access.

The risks include unauthorized data access, potential system compromise, and the execution of remote commands on the victim's machine.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If immediate updates are not possible, consider isolating the use of the Printrables package in a controlled environment to mitigate risks.

How To Fix

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

pip uninstall printrables

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