VDB
Sign up
—

PYSEC-2026-2447

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/diskcache
Introduced in: 0

No fixed version published yet for diskcache (pip). Pin to a known-safe version or switch to an alternative.

References