CVE-2025-69872: Code Injection
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to exploitation?
Applications using DiskCache through version 5.6.3 are exposed if an attacker can write to the cache directory and a victim application later reads the attacker-controlled cache data. The issue can result in arbitrary code execution in the victim application's context.
Does exploitation require authentication or user interaction?
The supplied CVSS vector indicates that exploitation is network-accessible, requires low attack complexity, no privileges, and no user interaction. However, the described exploit condition specifically requires write access to the cache directory.
Are default DiskCache settings affected?
Yes. DiskCache uses Python pickle for serialization by default, and the vulnerability affects that default serialization behavior.