CVE-2025-69872: DiskCache has unsafe pickle deserialization
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.
Published Feb 11, 2026 · Updated Feb 12, 2026
Affected packages
diskcache
- Ecosystem
- PyPI
- Affected
- <= 5.6.3
- Fixed in
- No patched version yet
- Check
pip show diskcache
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
