Malicious Code Detected in cflashfiles Package: Exfiltration Risk

cflashfiles Updated 22 Jan 2026

Summary

22/01/2026
CRITICAL
No i
Critical
Not published

MAL-2026-469: Malicious code in cflashfiles (PyPI). Affects cflashfiles versions 2.1 – 2.3. 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

The cflashfiles package, available on PyPI, is a malicious clone of the legitimate fsspec package. It was designed to provide similar functionalities but has been compromised to include harmful code. This package is intended for file system specification and manipulation, but due to its malicious nature, it poses significant risks to users who may unknowingly install it.

Vulnerability Detail

The vulnerability stems from the malicious modification of the cflashfiles package, which was created as a clone of the legitimate fsspec package. Upon import, the code is designed to exfiltrate specific files from the user's system, potentially leading to data breaches and unauthorized access to sensitive information. The malicious code was introduced by the source kam193, and the package has been identified as part of a campaign targeting users through deceptive means.

How To Fix

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

pip uninstall cflashfiles

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, users can avoid using the cflashfiles package altogether and rely on the legitimate fsspec package for their file system needs. Additionally, users should regularly monitor their systems for any unauthorized file access or data breaches.

Conclusion

The cflashfiles package poses a significant risk due to its malicious intent to exfiltrate files upon import. Users are strongly advised to uninstall this package and switch to the legitimate fsspec package to safeguard their systems. Regular monitoring and awareness of installed packages are crucial in maintaining security.

See every vulnerability recorded for cflashfiles →

Share this vulnerability

FAQ

cflashfiles is a malicious clone of the legitimate fsspec package, designed to manipulate file systems but contains harmful code that exfiltrates files.

You can check your installed packages by running 'pip list' in your terminal. Look for 'cflashfiles' in the list.

Uninstall the cflashfiles package immediately using 'pip uninstall cflashfiles' and install the legitimate fsspec package instead.

The malicious code is triggered upon import of the package, which then exfiltrates specific files from the user's system to an external server.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

How To Fix

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

pip uninstall cflashfiles

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