Malicious Code Vulnerability in perfkitbenchmarker Package

perfkitbenchmarker Updated 20 Mar 2026

Summary

20/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1992: Malicious code in perfkitbenchmarker (PyPI). Affects perfkitbenchmarker versions 9.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

perfkitbenchmarker is a Python package available on PyPI that is designed for benchmarking cloud services. It provides a suite of tools for performance testing and comparison of various cloud providers. However, this package has been found to contain malicious code that exfiltrates sensitive information from the host system, posing a significant security risk to users who install it.

Vulnerability Detail

The vulnerability originates from a malicious code embedded in the perfkitbenchmarker package, specifically in the setup.py file. When users install the package, it overrides the install command to execute this malicious code, which collects and exfiltrates basic information such as the host's IP address and username. This behavior indicates that the package serves no legitimate purpose other than to gather sensitive data, making it a potential threat to user privacy and security.

How To Fix

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

pip uninstall perfkitbenchmarker

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 measure, users can avoid installing the perfkitbenchmarker package altogether. If it is already installed, it can be removed using the command: 'pip uninstall perfkitbenchmarker'.

Conclusion

The perfkitbenchmarker package has been identified as containing malicious code that poses a risk to user privacy by exfiltrating sensitive information. Users are advised to uninstall the package and monitor for any updates or patches that may address this vulnerability. Utilizing tools like Vulert can help in monitoring and alerting for such vulnerabilities in real-time.

See every vulnerability recorded for perfkitbenchmarker →

Share this vulnerability

FAQ

perfkitbenchmarker is a Python package designed for benchmarking cloud services, allowing users to test and compare the performance of different cloud providers.

The malicious code collects basic information about the host system, including the IP address and username, which can compromise user privacy.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Currently, the affected version is 9.9.9. Users should monitor the package repository for any updates or patches that address this vulnerability.

If you have installed the perfkitbenchmarker package, it is recommended to uninstall it immediately using the command: 'pip uninstall perfkitbenchmarker'.

How To Fix

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

pip uninstall perfkitbenchmarker

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