{"id":"CVE-2021-33026","published":"2021-05-13T22:51:20Z","modified":"2024-08-03T23:42:19Z","title":"The Flask-Caching extension through 1.10.1 for Flask relies on Pickle for serialization, which may lead to remote code…","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.07348,"percentile":0.94541,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/sh4nks/flask-caching/pull/209","tags":["x_refsource_MISC"]},{"url":"https://github.com/pallets-eco/flask-caching/pull/209#issuecomment-1136397937","tags":["x_refsource_MISC"]}],"priority":{"score":30.8,"factors":[{"name":"EPSS percentile","points":18.91},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2021-11-05","earliestUrl":"https://github.com/CarlosG13/CVE-2021-33026","repos":[{"name":"CarlosG13/CVE-2021-33026","url":"https://github.com/CarlosG13/CVE-2021-33026","stars":4,"created":"2021-11-05"},{"name":"Agilevatester/FlaskCache_CVE-2021-33026_POC","url":"https://github.com/Agilevatester/FlaskCache_CVE-2021-33026_POC","stars":1,"created":"2024-10-08"}]},"first":{"date":"2021-11-05","source":"PoC-in-GitHub","url":"https://github.com/CarlosG13/CVE-2021-33026"},"provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-07-19T18:22:56.685627Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Flask-Caching","vulnerableRanges":["<=1.10.1"],"patched":[],"from":["GHSA-656c-6cxf-hvcv"],"provenance":"source"}],"summary":{"text":"The Flask-Caching extension through version 1.10.1 for Flask uses Pickle for serialization, which is a flaw that lives in how cached data is stored and read back. An attacker who already has access to the cache storage, such as the filesystem, Memcached, or Redis, could craft a payload to poison the cache and execute Python code, though a third party notes this is extremely unlikely unless the machine is already compromised and the attacker would otherwise be unable to write the payload and generate the required collision.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:31:42Z"},"euvd":{"id":"EUVD-2021-0084","exploited":false,"provenance":"source"}}