What’s Vulnerable › Vulnerabilities
CVE-2021-33026
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 7.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-05-13 · updated 2026-06-17
- Weakness: CWE-502
Description
The Flask-Caching extension through 1.10.1 for Flask relies on Pickle for serialization, which may lead to remote code execution or local privilege escalation. If an attacker gains access to cache storage (e.g., filesystem, Memcached, Redis, etc.), they can construct a crafted payload, poison the cache, and execute Python code. NOTE: a third party indicates that exploitation is extremely unlikely unless the machine is already compromised; in other cases, the attacker would be unable to write their payload to the cache and generate the required collision
Affected products
- Flask-Caching Project Flask-Caching: through 1.10.1
References
- https://github.com/pallets-eco/flask-caching/pull/209#issuecomment-1136397937
- https://github.com/sh4nks/flask-caching/pull/209
- https://github.com/pallets-eco/flask-caching/pull/209#issuecomment-1136397937
- https://github.com/sh4nks/flask-caching/pull/209
Get alerted when CVE-2021-33026 or the next vulnerability affects your stack