Advisory

PYSEC-2026-2447

Also known as: CVE-2025-69872, GHSA-w8v5-vhqr-4h9v

Summary

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.

Severity

Not rated by the source.

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

diskcache

PyPI · All systems

Affected

  • introduced 0, last affected 5.6.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences