Malicious Code Vulnerability in filesystem-python Package

filesystem-python Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6506: Malicious code in filesystem-python (PyPI). Affects filesystem-python versions 0.0.1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The filesystem-python package is a Python library designed for file system manipulation, providing developers with tools to interact with files and directories. It is commonly used in applications that require file handling capabilities. However, this package has been identified with a serious vulnerability that exposes users to potential security risks.

Vulnerability Detail

The vulnerability, identified as MAL-2025-6506, originates from malicious code embedded in version 0.0.1 of the filesystem-python package. This code can lead to unauthorized access and manipulation of the file system, posing significant risks to data integrity and security. Users of this package are at risk of exploitation, which could result in data breaches or system compromise.

How To Fix

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

pip uninstall filesystem-python

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 using the filesystem-python package until a secure version is confirmed. Additionally, consider using alternative libraries for file system manipulation that are known to be secure.

Conclusion

The filesystem-python package has a critical vulnerability due to malicious code in version 0.0.1, which can lead to severe security risks. Users are advised to update the package promptly and consider alternative solutions until a secure version is confirmed. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for filesystem-python →

Share this vulnerability

FAQ

filesystem-python is a Python library that allows developers to manipulate files and directories within their applications.

The vulnerability involves malicious code that can compromise the security of the file system, potentially leading to unauthorized access and data manipulation.

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 immediate updates are not possible, consider using alternative libraries for file system operations and monitor for updates on the filesystem-python package.

The vulnerability was identified by ReversingLabs, a security research firm specializing in malware analysis.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

pip uninstall filesystem-python

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