Critical Malicious Code Vulnerability in queryservice-client Package

queryservice-client Updated 01 Jan 2026

Summary

01/01/2026
CRITICAL
No i
Critical
Not published

MAL-2026-5: Malicious code in queryservice-client (PyPI). Affects queryservice-client versions 0.1.0 – 2.3.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 queryservice-client package is a Python library available on PyPI, designed to facilitate interactions with various query services. It is commonly used in applications that require querying databases or APIs. However, this package has been found to contain malicious code that can compromise sensitive information during installation.

Vulnerability Detail

The vulnerability originates from a dependency confusion attack executed by the package's maintainer, kam193. The malicious code is embedded in the setup.py file, which overrides the install command to execute harmful scripts during the installation process. This can lead to the exfiltration of sensitive environment variables and other generic data, posing significant security risks to users who install the package.

How To Fix

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

pip uninstall queryservice-client

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 installing the queryservice-client package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The queryservice-client package has been identified as containing malicious code that can compromise sensitive information during installation. Users are advised to update to a secure version and monitor their applications for vulnerabilities using tools like Vulert.

See every vulnerability recorded for queryservice-client →

Share this vulnerability

FAQ

The malicious code is designed to exfiltrate sensitive environment variables and execute harmful scripts during installation.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If you have installed a vulnerable version, it is crucial to uninstall it immediately and update to a secure version of the package.

Using the compromised package can lead to data breaches, unauthorized access to sensitive information, and potential exploitation of your application.

To prevent similar vulnerabilities, always verify the source of packages, use dependency management tools, and regularly monitor for updates and security advisories.

How To Fix

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

pip uninstall queryservice-client

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