PYSEC-2021-13
not scored yetwithdrawn / rejectedThe 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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | flask-caching | >= 1.0.0 |
References
- https://github.com/sh4nks/flask-caching/pull/209 · WEB
- https://github.com/advisories/GHSA-656c-6cxf-hvcv · ADVISORY
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 May 2021)