Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-69872: n/a

0
Critical
VulnerabilityCVE-2025-69872cvecve-2025-69872
Published: Wed Feb 11 2026 (02/11/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

AILast updated: 02/19/2026, 14:09:58 UTC

Technical Analysis

The vulnerability identified as CVE-2025-69872 affects the python-diskcache library, a popular caching solution for Python applications, up to version 5.6.3. DiskCache uses Python's pickle module by default for serializing cached data. Pickle is known to be unsafe when deserializing data from untrusted sources because it allows arbitrary code execution during the unpickling process. In this case, if an attacker gains write access to the cache directory, they can insert maliciously crafted pickle payloads. When the victim application subsequently reads from the cache, the malicious payload is deserialized, triggering arbitrary code execution within the context of the application. This vulnerability is particularly dangerous because it does not require any authentication or user interaction, and the attack surface includes any scenario where the cache directory is writable or accessible by an attacker. The CVSS 3.1 base score of 9.8 reflects the ease of exploitation (network vector, low attack complexity), no privileges required, no user interaction, and full impact on confidentiality, integrity, and availability. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), highlighting the risk of executing attacker-controlled code. No known exploits are currently reported in the wild, but the critical nature of the flaw demands immediate attention. No patches are currently linked, indicating that mitigation may require configuration changes or waiting for an official fix. This vulnerability affects any Python application using DiskCache with default settings, especially those exposing cache directories in multi-tenant or cloud environments.

Potential Impact

The impact of CVE-2025-69872 is severe for organizations worldwide that utilize the python-diskcache library in their Python applications. Successful exploitation results in arbitrary code execution, allowing attackers to run malicious code with the same privileges as the vulnerable application. This can lead to full system compromise, data theft, unauthorized access, and disruption of services. Since the vulnerability affects confidentiality, integrity, and availability, attackers could exfiltrate sensitive data, modify or delete critical information, or cause denial of service. The ease of exploitation without authentication or user interaction increases the risk of automated attacks and wormable scenarios in environments where cache directories are exposed or improperly secured. Organizations relying on DiskCache in cloud services, web applications, or multi-user systems face heightened risk, especially if cache directories are shared or accessible by untrusted users. The lack of known exploits in the wild currently provides a small window for proactive mitigation before widespread exploitation occurs.

Mitigation Recommendations

To mitigate CVE-2025-69872, organizations should immediately audit and restrict write permissions to the DiskCache cache directories, ensuring that only trusted processes and users have access. Avoid exposing cache directories to untrusted networks or users, particularly in multi-tenant or cloud environments. Consider configuring DiskCache to use safer serialization methods instead of pickle, such as JSON or other secure serializers, if supported. Monitor application logs and filesystem changes for suspicious activity related to cache files. Implement application-level input validation and sandboxing to limit the impact of potential code execution. Stay informed about official patches or updates from the DiskCache maintainers and apply them promptly once released. If patching is not immediately possible, consider isolating vulnerable applications in restricted environments or containers to limit potential damage. Regularly back up critical data and maintain incident response plans to quickly address any exploitation attempts.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-01-09T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 698cce794b57a58fa1b3e295

Added to database: 2/11/2026, 6:46:17 PM

Last enriched: 2/19/2026, 2:09:58 PM

Last updated: 2/21/2026, 12:18:10 AM

Views: 28

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats