Critical Malicious Code Vulnerability in httppack Package

httppack Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6522: Malicious code in httppack (PyPI). Affects httppack versions 0.1 – 0.2. 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

The httppack package is a Python library available on PyPI that facilitates HTTP request handling and response parsing. It is designed to simplify interactions with web services by providing an easy-to-use interface for making HTTP requests. However, recent findings have revealed that certain versions of httppack contain malicious code that can compromise the security of applications utilizing this package.

Vulnerability Detail

The vulnerability identified as MAL-2025-6522 originates from malicious code embedded within the httppack package, specifically in versions 0.1 and 0.2. This code can potentially allow attackers to execute arbitrary commands or exfiltrate sensitive data from affected systems. The implications of this vulnerability are severe, as it can lead to unauthorized access and manipulation of application data, posing significant risks to users and organizations relying on this package.

How To Fix

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

pip uninstall httppack

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, you can remove the httppack package from your project and replace it with a different library that provides similar functionality without the associated risks. Alternatively, you can implement strict input validation and monitoring to mitigate the impact of the malicious code until an update can be applied.

Conclusion

The httppack package has been found to contain a critical vulnerability due to malicious code in specific versions. It is crucial for developers using this package to take immediate action by updating to a secure version or implementing workarounds to mitigate potential risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for httppack →

Share this vulnerability

FAQ

httppack is a Python library for handling HTTP requests and responses, designed to simplify interactions with web services.

Versions 0.1 and 0.2 of the httppack package are known to contain the malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.

If an immediate update is not possible, consider removing the package and using an alternative library, or implement strict input validation as a temporary measure.

The vulnerability was identified by ReversingLabs, a cybersecurity firm specializing in threat detection and analysis.

How To Fix

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

pip uninstall httppack

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