Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-69872
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:41 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-69872
Complete source record
{
"id": "35c0a0a2c43f9da239f89cea6343c4cdd6ae2f03fcc7d3d4675f5ebcd7e83b71",
"url": "https://osv.dev/vulnerability/CVE-2025-69872",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-69872",
"summary": "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.",
"evidence": "osv:CVE-2025-69872",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-69872",
"aliases": [
"CVE-2025-69872",
"GHSA-w8v5-vhqr-4h9v",
"PYSEC-2026-2447"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/grantjenks/python-diskcache",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "323787f507a6456c56cce213156a78b17073fe00"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.6.3"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v5.6.3",
"v5.6.2",
"v5.6.1",
"v5.6.0",
"v5.5.1",
"v5.5.0",
"v5.4.0",
"v5.3.0",
"v5.2.1",
"v5.2.0",
"v5.1.0",
"v5.0.3",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"v4.1.0",
"v4.0.0",
"v3.1.1",
"v3.1.0",
"v3.0.6",
"v3.0.5",
"v3.0.4",
"v3.0.3",
"v3.0.1",
"v3.0.0",
"v2.9.0",
"v2.8.3",
"v2.8.2",
"v2.7.0",
"v2.6.5",
"v2.6.4",
"v2.6.0",
"v2.5.2",
"v2.5.1",
"v2.4.1",
"v2.5.0",
"v2.4.0",
"v2.3.1",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v2.0.2",
"v1.6.7",
"v1.6.6",
"v1.6.5",
"v1.6.4",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.3",
"v1.5.2",
"v1.5.0",
"v1.4.0",
"v1.3.5",
"v1.3.4",
"v1.3.3",
"v1.3.1",
"v1.2.0",
"v1.1.0",
"v1.0.0",
"v0.9.0",
"v0.7.1",
"v0.7.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.10",
"v0.2.9",
"v0.2.8",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-69872.json"
}
}
],
"modified": "2026-10-28T02:30:36.789967672Z",
"provider": "osv",
"references": [
"https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69872-DiskCache-Pickle-Deserialization.md",
"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69872.json",
"https://access.redhat.com/errata/RHSA-2026:36350",
"https://access.redhat.com/errata/RHSA-2026:3713",
"https://access.redhat.com/security/cve/CVE-2025-69872",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69872.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-69872",
"https://bugzilla.redhat.com/show_bug.cgi?id=2439059",
"https://github.com/grantjenks/python-diskcache"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69872.json"
}
},
"related_cves": [
{
"value": "CVE-2025-69872",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504226,
"published_at": "2026-02-11T00:00:00+00:00"
}