—
PYSEC-2026-2447
DiskCache has unsafe pickle deserialization
Details
DiskCache (python-diskcache) through 5.6.3 uses Python pickle for serialization by default. An attacker with write access to the cache directory can achieve arbitrary code execution when a victim application reads from the cache.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/diskcache
Introduced in:
0No fixed version published yet for diskcache (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-69872[ADVISORY]
- https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69872-DiskCache-Pickle-Deserialization.md[WEB]
- https://github.com/grantjenks/python-diskcache[PACKAGE]
- https://pypi.org/project/diskcache[PACKAGE]
- https://github.com/advisories/GHSA-w8v5-vhqr-4h9v[ADVISORY]