CVE catalog

CVE-2021-33026

flask-caching: CVE-2021-33026

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianflask-cachingsid2.5.1-1vulnerable
Debianflask-cachingforky2.5.1-1vulnerable
Debianflask-cachingtrixie2.3.1-1vulnerable
Debianflask-cachingbookworm2.0.2-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianflask-cachingsourcesid(unfixed)unimportantNot reported[988916]
Debianflask-cachingsourceforky(unfixed)unimportantNot reported[988916]
Debianflask-cachingsourcetrixie(unfixed)unimportantNot reported[988916]
Debianflask-cachingsourcebookworm(unfixed)unimportantNot reported[988916]

[Debian bug #988916]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [flask-caching]

    Details (2)
    • 2.0.2-1 · all · bookworm

      Affected

      dsa · flask-caching · debian · bookworm; dsa · flask-caching · debian · 12

    • 2.0.2-1 · all · bookworm

      Affected

      dsa · flask-caching · debian · bookworm; dsa · flask-caching · debian · 12

[Debian 13 (Trixie)]

  • Source package: [flask-caching]

    Details (2)
    • 2.3.1-1 · all · trixie

      Affected

      dsa · flask-caching · debian · 13

    • 2.3.1-1 · all · trixie

      Affected

      dsa · flask-caching · debian · 13

Observed:

References