Malicious Code Vulnerability in spatialmedia Package

spatialmedia Updated 20 Mar 2026

Summary

20/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1994: Malicious code in spatialmedia (PyPI). Affects spatialmedia 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 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 spatialmedia package, available on PyPI, is designed for handling spatial media files. It is commonly used in applications that require manipulation of 360-degree video and audio formats. However, the package has been identified to contain malicious code that compromises user data upon installation.

Vulnerability Detail

The vulnerability originates from a malicious code embedded within the spatialmedia package, specifically in the setup.py file. This code is executed during the installation process, leading to the exfiltration of sensitive information such as the user's IP address and username. The package has no legitimate functionality beyond this malicious intent, posing a risk to users who install it.

How To Fix

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

pip uninstall spatialmedia

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 spatialmedia package until a secure version is released. If you need similar functionality, consider using alternative packages that do not have known vulnerabilities.

Conclusion

The spatialmedia package has been identified as containing malicious code that compromises user data. Users are advised to uninstall the package and monitor for updates or alternatives. Utilizing tools like Vulert can help in identifying vulnerabilities in open-source software.

See every vulnerability recorded for spatialmedia →

Share this vulnerability

FAQ

The spatialmedia package is used for handling spatial media files, particularly in applications involving 360-degree video and audio.

The malicious code exfiltrates basic information from your system, such as your IP address and username, potentially compromising your privacy.

As of now, there is no patched version available. It is recommended to avoid using the package until a secure version is released.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground without any signup.

If you have installed the spatialmedia package, immediately uninstall it using the command pip uninstall spatialmedia and refrain from using it until a secure version is available.

How To Fix

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

pip uninstall spatialmedia

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