Skip to content
OpenAdvisories
Critical · 9.8 CVE-2025-69872 EUVD-2025-207391GHSA-w8v5-vhqr-4h9vPYSEC-2026-2447

DiskCache has unsafe pickle deserialization

Published Feb 11, 2026 · Updated Jul 15, 2026 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 diskcache No fix yet —
Debian 13 diskcache No fix yet —
Debian 12 diskcache No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 diskcache No fix yet —
Ubuntu 26.04 LTS diskcache No fix yet —
Ubuntu 25.10 diskcache No fix yet —
Ubuntu 24.04 LTS diskcache No fix yet —
Ubuntu 22.04 LTS diskcache No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI diskcache <= 5.6.3 — GHSA-w8v5-vhqr-4h9v

References