Malicious Code Vulnerability in pyregions-snowflake Package

pyregions-snowflake Updated 23 Mar 2026

Summary

23/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-2109: Malicious code in pyregions-snowflake (PyPI). Affects pyregions-snowflake versions 3.9.1 – 3.9.9. 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 pyregions-snowflake package is a Python library available on the PyPI repository, designed for specific functionalities related to region handling in applications. However, it has been identified as containing malicious code that poses significant security risks to users. The package's malicious behavior includes downloading and executing remote executables, which can lead to data exfiltration and unauthorized access to systems.

Vulnerability Detail

The vulnerability originates from an obfuscated code within the pyregions-snowflake package, which activates during installation. This code is designed to download and execute remote executables in certain environments. Additionally, older versions of the package attempt to exfiltrate basic information via DNS requests and cover their tracks by installing a similarly named package from a private repository. The campaign is categorized as malicious due to its intent to steal information and execute unauthorized actions.

How To Fix

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

pip uninstall pyregions-snowflake

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 pyregions-snowflake package altogether until a secure version is confirmed. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.

Conclusion

The pyregions-snowflake package has been identified as containing malicious code that poses serious security risks. Users are advised to uninstall affected versions and monitor their systems for any unauthorized actions. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.

See every vulnerability recorded for pyregions-snowflake →

Share this vulnerability

FAQ

The affected versions include 3.9.1, 3.9.2, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 3.9.8, 3.9.9, and 3.9.10.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If you have installed the affected package, uninstall it immediately and check for any unauthorized changes or data breaches in your system.

To prevent similar vulnerabilities, regularly update your packages, use trusted sources, and monitor for vulnerabilities using tools like Vulert.

Using the compromised package can lead to unauthorized access to your system, data exfiltration, and potential installation of additional malicious software.

How To Fix

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

pip uninstall pyregions-snowflake

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