
CVE catalog
CVE-2021-33026
flask-caching: CVE-2021-33026
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 7.35% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | flask-caching | sid | 2.5.1-1 | vulnerable |
| Debian | flask-caching | forky | 2.5.1-1 | vulnerable |
| Debian | flask-caching | trixie | 2.3.1-1 | vulnerable |
| Debian | flask-caching | bookworm | 2.0.2-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | flask-caching | source | sid | (unfixed) | unimportant | Not reported | [988916] |
| Debian | flask-caching | source | forky | (unfixed) | unimportant | Not reported | [988916] |
| Debian | flask-caching | source | trixie | (unfixed) | unimportant | Not reported | [988916] |
| Debian | flask-caching | source | bookworm | (unfixed) | unimportant | Not reported | [988916] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-flask-caching]Affected
Source package: [flask-caching]
Details (2)
2.0.2-1· all · bookwormAffected
dsa · flask-caching · debian · bookworm; dsa · flask-caching · debian · 12
2.0.2-1· all · bookwormAffected
dsa · flask-caching · debian · bookworm; dsa · flask-caching · debian · 12
[Debian 13 (Trixie)]
- [python3-flask-caching]Affected
Source package: [flask-caching]
Details (2)
2.3.1-1· all · trixieAffected
dsa · flask-caching · debian · 13
2.3.1-1· all · trixieAffected
dsa · flask-caching · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-33026]
- [https://security-tracker.debian.org/tracker/CVE-2021-33026]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-33026.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2023-0426.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]