Vulnerability
CVE-2025-69872
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.
37 advisories report this vulnerability, across 5 ecosystems.
Advisories in PyPI
-
GHSA-w8v5-vhqr-4h9v
DiskCache has unsafe pickle deserialization
-
PYSEC-2026-2447
DiskCache has unsafe pickle deserialization
References
- https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69872-DiskCache-Pickle-Deserialization.md
- https://github.com/grantjenks/python-diskcache
- https://access.redhat.com/errata/RHSA-2026:36350
- https://access.redhat.com/errata/RHSA-2026:3713
- https://access.redhat.com/security/cve/CVE-2025-69872
- https://bugzilla.redhat.com/show_bug.cgi?id=2439059
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69872.json