Malicious Code Execution Vulnerability in snap-queue Package

snap-queue Updated 23 Sep 2026

Summary

22/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16408: Malicious code in snap-queue (PyPI). Affects snap-queue versions 1.0.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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The snap-queue package, available on PyPI, is designed to provide FIFO-queue functionality for Python applications. However, it has been identified to contain malicious code that executes during installation, compromising user systems. This vulnerability arises from the package's setup.py file, which includes a function that runs automatically, leading to potential security risks.

Vulnerability Detail

The vulnerability originates from the setup.py file of the snap-queue package, which defines a function that executes malicious code upon installation. This function uses subprocess.Popen to launch an undocumented sibling file, _snapqueue_core.py, which is unrelated to the intended functionality of the package. The execution occurs silently, suppressing any console output and errors, thus allowing the malicious code to run unnoticed. This behavior poses significant risks, including unauthorized access to the installer's machine and potential data theft.

How To Fix

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

pip uninstall snap-queue

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 avoid installing the snap-queue package until a secure version is available. Additionally, consider using virtual environments to isolate dependencies and minimize risks.

Conclusion

The snap-queue package has been identified as containing malicious code that executes during installation, posing significant security risks. Users are advised to uninstall the package and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications.

See every vulnerability recorded for snap-queue →

Share this vulnerability

FAQ

The snap-queue package is a Python library designed to implement FIFO-queue functionality in applications.

The vulnerability allows malicious code to execute silently during installation, potentially compromising your system's security.

Uninstall the snap-queue package immediately and monitor your system for any unusual activity.

Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

It is expected that the maintainers will release a patched version. Keep an eye on the package's PyPI page for updates.

How To Fix

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

pip uninstall snap-queue

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