Skip to main content

Malicious code in uvhttp-custom (PyPI)

0
Critical
Published: 09/03/2026 (09/03/2026, 16:52:46 UTC)
Source: GCVE Database
Product: uvhttp-custom

Description

The PyPI package uvhttp-custom versions 1.7.9, 1.8.1, and 1.9.9 contains malicious code embedded in its setup.py file. During installation on Windows, it executes an obfuscated payload that writes and runs a PowerShell script. This script downloads and silently executes an unsigned Windows executable from a Discord CDN URL without any hash or signature verification. The package also runs a benign command (calc) as part of the payload. This behavior results in the silent execution of potentially harmful code on the installer's machine.

Affected software

PyPIghsa
uvhttp-custom
Affected versions
=1.7.9=1.8.1=1.9.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 16:09:06 UTC

Technical Analysis

The uvhttp-custom PyPI package contains an obfuscated payload in its setup.py that executes during installation. The payload decodes a base64 string to write a PowerShell script to disk, which then downloads an unsigned executable from a Discord CDN and runs it hidden from the user. No integrity checks are performed on the downloaded binary. This malicious behavior is triggered by simply running pip install on affected versions, leading to arbitrary code execution on Windows systems.

Potential Impact

Installing affected versions of uvhttp-custom on Windows results in the silent download and execution of an unsigned executable from an external source. This can lead to arbitrary code execution on the victim's machine, potentially compromising system integrity and security. The lack of signature or hash verification increases the risk of executing malicious payloads without user awareness.

Mitigation Recommendations

Users should avoid installing the uvhttp-custom package versions 1.7.9, 1.8.1, and 1.9.9. Since no official patch or remediation is indicated, the best mitigation is to remove these versions from use and rely on trusted package sources. Verify package integrity before installation and monitor for updates or advisories from PyPI or the package maintainer regarding this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-15863
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a9ad4f4acd9273b49b67985

Added to database: 09/04/2026, 14:25:56 UTC

Last enriched: 09/07/2026, 16:09:06 UTC

Last updated: 10/04/2026, 09:34:49 UTC

Views: 21

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses