ADVISORIES

Vulnerability

CVE-2021-33026

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

2 advisories report this vulnerability, across 2 ecosystems.

Critical severity All Debian 1PyPI 1

Advisories

  • DEBIAN-CVE-2021-33026

    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.,…

    CVE-2021-33026 Debian Updated 23 October 2026
  • GHSA-656c-6cxf-hvcv

    Deserialization of Untrusted Data in Flask-Caching

    Moderate CVE-2021-33026 PyPI Updated 16 February 2024

References