grantjenks/python-diskcache · Security
DiskCache has unsafe pickle deserialization
- GHSA ID
- GHSA-w8v5-vhqr-4h9v
- CVE ID
- CVE-2025-69872
- Severity
- medium
- Published
- Updated
- CVSS v4
- 5.2 · 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
Description
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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-502 · Deserialization of Untrusted Data