{"id":"PYSEC-2026-2447","summary":"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.","aliases":["CVE-2025-69872","GHSA-w8v5-vhqr-4h9v"],"modified":"2026-07-13T16:31:44.266546785Z","published":"2026-07-13T14:36:36.004443Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69872"},{"type":"WEB","url":"https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69872-DiskCache-Pickle-Deserialization.md"},{"type":"PACKAGE","url":"https://github.com/grantjenks/python-diskcache"},{"type":"PACKAGE","url":"https://pypi.org/project/diskcache"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w8v5-vhqr-4h9v"}],"affected":[{"package":{"name":"diskcache","ecosystem":"PyPI","purl":"pkg:pypi/diskcache"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.6.3"}]}],"versions":["0.1.0","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.2.1","0.2.10","0.2.2","0.2.3","0.2.4","0.2.6","0.2.7","0.2.8","0.2.9","0.3.0","0.3.1","0.4.0","0.5.0","0.6.0","0.7.0","0.7.1","0.9.0","1.0.0","1.1.0","1.2.0","1.3.1","1.3.3","1.3.4","1.3.5","1.4.0","1.5.0","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.7.0","2.0.2","2.1.0","2.2.0","2.3.0","2.3.1","2.4.0","2.4.1","2.5.1","2.5.2","2.6.0","2.6.4","2.6.5","2.7.0","2.8.2","2.8.3","2.9.0","3.0.0","3.0.1","3.0.3","3.0.4","3.0.5","3.0.6","3.1.0","3.1.1","4.0.0","4.1.0","5.0.0","5.0.1","5.0.2","5.0.3","5.1.0","5.2.1","5.3.0","5.4.0","5.5.1","5.6.0","5.6.1","5.6.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/diskcache/PYSEC-2026-2447.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}]}