PYSEC-2026-2447

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/diskcache/PYSEC-2026-2447.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2447
Aliases
Published
2026-07-13T14:36:36.004443Z
Modified
2026-07-13T16:31:44.266546785Z
Severity
  • 5.2 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P CVSS Calculator
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.

References

Affected packages

PyPI / diskcache

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
5.6.3

Affected versions

0.*
0.1.0
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.6
0.2.7
0.2.8
0.2.9
0.2.10
0.3.0
0.3.1
0.4.0
0.5.0
0.6.0
0.7.0
0.7.1
0.9.0
1.*
1.0.0
1.1.0
1.2.0
1.3.1
1.3.3
1.3.4
1.3.5
1.4.0
1.5.0
1.5.2
1.5.3
1.6.0
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7
1.7.0
2.*
2.0.2
2.1.0
2.2.0
2.3.0
2.3.1
2.4.0
2.4.1
2.5.1
2.5.2
2.6.0
2.6.4
2.6.5
2.7.0
2.8.2
2.8.3
2.9.0
3.*
3.0.0
3.0.1
3.0.3
3.0.4
3.0.5
3.0.6
3.1.0
3.1.1
4.*
4.0.0
4.1.0
5.*
5.0.0
5.0.1
5.0.2
5.0.3
5.1.0
5.2.1
5.3.0
5.4.0
5.5.1
5.6.0
5.6.1
5.6.3

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/diskcache/PYSEC-2026-2447.yaml"