Malicious Code Exfiltration in Metrio Package

metrio Updated 27 Sep 2026

Summary

27/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17193: Malicious code in metrio (PyPI). Affects metrio versions 1000.0.0 – 999.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

Metrio is a Python package available on PyPI, designed for various functionalities related to data handling and processing. However, it has been identified to contain malicious code that compromises user data. The package's primary purpose is overshadowed by its vulnerability, which allows it to exfiltrate sensitive information from the host system.

Vulnerability Detail

The vulnerability originates from a malicious code embedded within the Metrio package. Upon installation or import, the package executes code that exfiltrates basic information about the host, such as the IP address and username. This behavior is facilitated by overriding the install command in the setup.py file, which triggers the malicious code execution during the installation process. The risk associated with this vulnerability is categorized as limited, but it still poses a significant 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 metrio

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 Metrio package altogether until a secure version is released. If the package is already installed, ensure to monitor your system for any unusual activity and consider using network monitoring tools to detect unauthorized data exfiltration.

Conclusion

The Metrio package has been identified as containing malicious code that exfiltrates sensitive information from users' systems. It is crucial for users to uninstall the affected versions and monitor their systems for any unusual activity. Stay informed about updates and patches for the package to ensure your system's security.

See every vulnerability recorded for metrio →

Share this vulnerability

FAQ

Metrio is a Python package available on PyPI, designed for data handling and processing tasks.

The malicious code in the Metrio package exfiltrates basic information such as the host's IP address and username.

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

If you have installed the Metrio package, you should uninstall it immediately and monitor your system for any unusual activity.

Currently, there is no patched version available. Users are advised to uninstall the affected versions and await further updates.

How To Fix

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

pip uninstall metrio

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