Malicious Code Exfiltration in arrayvec Package

arrayvec Updated 13 Feb 2026

Summary

13/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-877: Malicious code in arrayvec (PyPI). Affects arrayvec versions 1.0.99. 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 arrayvec package is a Python library available on PyPI, designed to provide a dynamic array implementation. It is commonly used in various applications for efficient memory management and performance. However, this package has been identified to contain malicious code that compromises user data.

Vulnerability Detail

The vulnerability originates from a malicious actor who has embedded code within the arrayvec package that exfiltrates sensitive information from the host system, such as the IP address and username. This code is executed during the installation process due to the package overriding the install command in setup.py. The risk is categorized as low, but it 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 arrayvec

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, avoid installing the arrayvec package until a patched version is confirmed. If you have already installed it, consider removing it immediately and monitoring your system for any unusual activity.

Conclusion

The arrayvec package has been compromised with malicious code that can exfiltrate user data. It is crucial to uninstall the affected version and update to a safe version to protect your system. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for arrayvec →

Share this vulnerability

FAQ

arrayvec is a Python library that provides a dynamic array implementation, commonly used for efficient memory management.

The vulnerability allows malicious code to exfiltrate sensitive information from your system during the installation of the package.

Uninstall the affected version immediately and update to a patched version using the provided commands.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time without requiring code access.

You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without signing up.

How To Fix

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

pip uninstall arrayvec

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