Malicious Code Exfiltration in wandb-widget Package

wandb-widget Updated 01 Feb 2026

Summary

01/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-620: Malicious code in wandb-widget (PyPI). Affects wandb-widget versions 0.0.0 – 0.1.0a0. 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 wandb-widget package, available on PyPI, is designed for integrating with Weights & Biases, a popular tool for tracking machine learning experiments. It allows users to visualize and manage their experiments efficiently. However, this package has been compromised, leading to a significant security vulnerability that can exfiltrate sensitive information from the host system.

Vulnerability Detail

The vulnerability originates from malicious code embedded within the wandb-widget package. Upon installation or import, this code exfiltrates basic information about the host, such as the IP address and username. The package overrides the install command in setup.py, executing this malicious code during the installation process. This poses a risk as it can lead to unauthorized access to sensitive data, although the immediate risk is considered limited.

How To Fix

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

pip uninstall wandb-widget

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, avoid installing the wandb-widget package until a patched version is released. If you need similar functionality, consider using alternative packages that do not have known vulnerabilities.

Conclusion

The wandb-widget package has been compromised, leading to a vulnerability that allows for the exfiltration of sensitive information from the host system. Users are advised to uninstall the affected versions and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications.

See every vulnerability recorded for wandb-widget →

Share this vulnerability

FAQ

The wandb-widget package is a tool for integrating with Weights & Biases, allowing users to visualize and manage machine learning experiments.

The malicious code 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 wandb-widget package, you should uninstall it immediately and check for any updates or patches.

While the immediate risk is limited, the exfiltration of sensitive information can lead to unauthorized access, which poses a potential risk to data security.

How To Fix

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

pip uninstall wandb-widget

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