Malicious Code Injection in hookgantry Package - Critical Vulnerability Alert

hookgantry Updated 22 Oct 2026

Summary

22/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-18153: Malicious code in hookgantry (PyPI). Affects hookgantry versions 0.1.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The hookgantry package, available on PyPI, is designed for managing and executing hooks in Python applications. It is intended to facilitate the integration of various functionalities through a simple interface. However, recent findings have revealed that this package is part of a coordinated campaign that allows for the execution of malicious code from remote sources, posing a significant security risk to users.

Vulnerability Detail

The vulnerability stems from a malicious campaign identified as '2026-10-voice-synthesis-profiles', which involves loader packages that execute code from specified URLs. The hookgantry package has been implicated in this campaign, enabling the download and execution of remote scripts that could lead to data theft or system compromise. The malicious payload is not contained within the package itself, but the mechanism for executing harmful code is present, making it a serious threat to users who may unknowingly install it.

How To Fix

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

pip uninstall hookgantry

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 can avoid using the hookgantry package until a secure version is released. Additionally, implementing network security measures such as firewalls and monitoring tools can help mitigate the risk of executing remote scripts.

Conclusion

The hookgantry package has been identified as part of a malicious campaign that poses a serious security risk due to its ability to execute remote scripts. Users are advised to uninstall the package and remain vigilant for updates. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for hookgantry →

Share this vulnerability

FAQ

The hookgantry package is a Python library designed to manage and execute hooks in applications, allowing for easy integration of various functionalities.

This vulnerability allows for the execution of malicious code from remote sources, which could compromise your application's security and lead to data theft.

If you have installed hookgantry, you should uninstall it immediately and monitor for any updates or patches that may address the vulnerability.

Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. You can check your application against this vulnerability using the Vulert playground without any signup.

The potential consequences include unauthorized access to sensitive data, system compromise, and the execution of harmful scripts that could disrupt your application.

How To Fix

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

pip uninstall hookgantry

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