Critical Malicious Code Vulnerability in mcp-pdftool-plus Package

mcp-pdftool-plus Updated 29 Jan 2026

Summary

29/01/2026
CRITICAL
No i
Critical
Not published

MAL-2026-603: Malicious code in mcp-pdftool-plus (PyPI). Affects mcp-pdftool-plus versions 0.1.3 – 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 mcp-pdftool-plus package, available on PyPI, is designed for manipulating PDF files. It offers various functionalities that allow users to create, modify, and extract information from PDF documents. However, this package has been compromised, introducing a severe security risk that can lead to unauthorized access and control over users' systems.

Vulnerability Detail

The vulnerability originates from malicious code embedded within the mcp-pdftool-plus package. This code initiates a reverse shell when the library is used, allowing attackers to execute arbitrary commands on the victim's machine. The presence of this malicious code poses significant risks, including data theft, system compromise, and potential exploitation of the victim's environment.

How To Fix

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

pip uninstall mcp-pdftool-plus

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 refrain from using the mcp-pdftool-plus package until it has been updated to a secure version. Additionally, consider using alternative libraries for PDF manipulation that do not have known vulnerabilities.

Conclusion

The mcp-pdftool-plus package has been compromised with malicious code that can lead to severe security risks. Users are urged to update to the latest patched versions and consider alternative libraries for PDF manipulation. Regular monitoring for vulnerabilities using tools like Vulert can help maintain software security.

See every vulnerability recorded for mcp-pdftool-plus →

Share this vulnerability

FAQ

mcp-pdftool-plus is a Python package designed for manipulating PDF files, allowing users to create and modify PDF documents.

The vulnerability is a malicious code injection that creates a reverse shell, enabling attackers to execute 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 needing to sign up.

If you have installed the affected package, you should update it to a patched version immediately using the command: pip install --upgrade mcp-pdftool-plus.

Yes, there are several alternative libraries for PDF manipulation, such as PyPDF2 and pdfminer, which do not have this vulnerability.

How To Fix

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

pip uninstall mcp-pdftool-plus

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