CVE-2025-69872: Vulnerability in DiskCache (python-diskcache)

Critical. 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.

PyPI, CWE-94, CWE-502

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-w8v5-vhqr-4h9v
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94, CWE-502
Published
11 Feb 2026
Last change
15 Jul 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • DiskCache (python-diskcache) Through 5.6.3. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • diskcache PyPI, Affected through 5.6.3. No fixed version recorded

Advisories

Vendor and security advisories

Related