CVE-2026-22607: Fickling Package cProfile Blocklist Bypass Leading to Arbitrary Code Execution

fickling Updated 09 Jan 2026

Summary

09/01/2026
Yes i
High
8.9

CVE-2026-22607: Fickling Blocklist Bypass: cProfile.run(). Affects fickling versions < 0.1.7. Fixed in 0.1.7. 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

Fickling is a Python package designed to analyze and assess the safety of pickle files, which are used for serializing and deserializing Python objects. It provides a security gate to prevent the execution of malicious code during the deserialization process. However, certain versions of Fickling have a critical vulnerability that allows attackers to bypass its safety mechanisms, specifically by exploiting the cProfile module, which is not included in its blocklist of unsafe imports.

Vulnerability Detail

The vulnerability arises from Fickling versions up to and including 0.1.6 not treating Python's cProfile module as unsafe. This oversight allows a malicious pickle file that utilizes cProfile.run() to be misclassified as SUSPICIOUS instead of OVERTLY_MALICIOUS. As a result, users relying on Fickling's output may inadvertently execute attacker-controlled code, leading to arbitrary code execution. The root cause is the absence of cProfile in the unsafe imports blocklist within Fickling's analysis module, which compromises the integrity of the security checks.

How To Fix

Latest published version: 0.1.12 as of 23 Oct 2026

pip install --upgrade "fickling==0.1.12"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.1.7

This is the first release that contains the fix.

pip install --upgrade "fickling==0.1.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can manually inspect pickle files for the presence of cProfile before deserialization. Additionally, they can implement custom safety checks to analyze the contents of the pickle files. Here is an example of how to create a malicious pickle for testing purposes:

import pickle
import cProfile

class MaliciousPayload:
    def __reduce__(self):
        return (cProfile.run, ("print('CPROFILE_RCE_CONFIRMED')",))

with open("malicious.pkl", "wb") as f:
    pickle.dump(MaliciousPayload(), f)

Conclusion

The vulnerability in Fickling related to the cProfile module poses a significant risk by allowing attackers to execute arbitrary code through malicious pickle files. Users are strongly advised to update to the latest version to mitigate this risk. Implementing additional safety checks can also help in the interim.

See every vulnerability recorded for fickling →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 8.9, indicating a high severity level due to the potential for arbitrary code execution.

Fickling versions up to and including 0.1.6 are affected by this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

If you cannot update Fickling, ensure to manually inspect any pickle files for unsafe modules like cProfile before deserialization.

The impact includes the potential for arbitrary code execution on systems that rely on Fickling for vetting pickle files, which can lead to severe security breaches.

Related vulnerabilities

Recent vulnerabilities recorded for fickling.

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

Latest published version: 0.1.12 as of 23 Oct 2026

pip install --upgrade "fickling==0.1.12"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.1.7

This is the first release that contains the fix.

pip install --upgrade "fickling==0.1.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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