Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local authenticated access
-
DeliveryIdentify victim using WWW::Mechanize::Cached
-
ExploitCompute sha1_hex of target URL
-
InstallWrite malicious Storable blob to /tmp/FileCache/www-mechanize-cached/[sha1].dat
-
C2Victim requests poisoned URL
-
ExecuteStorable::thaw deserializes attacker payload
-
ImpactArbitrary code execution as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
|
| Exploitation Conditions | Exploitation requires authenticated local access to the same system as the victim (AV:L/PR:L). The attacker must have write permission to the /tmp/FileCache/www-mechanize-cached/ directory tree, which exists by default with mode 0777 when WWW::Mechanize::Cached is used without specifying a custom cache backend. The attacker must know or predict URLs the victim will request (to compute matching sha1_hex cache keys) and the victim process must have loaded Perl classes with exploitable STORABLE_thaw, DESTROY, or overload hooks to escalate deserialization to code execution. Limiting factors: single-user systems with per-user /tmp directories (systemd PrivateTmp), containerized environments with isolated filesystems, or deployments that explicitly configure Cache::FileCache with non-default cache_root and directory_umask prevent exploitation even on vulnerable WWW::Mechanize::Cached versions below 2.00. |
| Impact | Real-world risk requires careful contextualization of multiple signals. CVSS 5.3 (MEDIUM) with AV:L/AC:L/PR:L indicates low-complexity local exploitation requiring authenticated access but no user interaction. The EPSS score of 0.05% (16th percentile) suggests minimal observed exploitation attempts in the wild, and no CISA KEV listing confirms this is not yet broadly targeted. However, the technical impact is severe: arbitrary code execution via Storable deserialization gadgets in victim processes that have loaded classes with side-effectful hooks. The attack requires: (1) local authenticated access, (2) knowledge of URLs the victim will request, (3) write access to the shared /tmp/FileCache tree, and (4) victim processes with exploitable Storable gadgets loaded. Multi-user systems with untrusted local users (shared hosting, academic compute clusters) face elevated risk. Single-user workstations or containerized deployments with isolated /tmp have minimal exposure. The patch changes cache location from /tmp to XDG_CACHE_HOME (~/.cache) with directory_umask=077, fully mitigating the permission vulnerability. Priority should be HIGH for multi-tenant environments, LOW for isolated single-user systems. |
| Exploit ScenarioDerived | An authenticated local attacker on a shared academic compute server identifies that a victim user runs a Perl web scraper using WWW::Mechanize::Cached with default settings. The attacker calculates the sha1_hex of a known URL the victim fetches (e.g., 'https://internal-api.example.edu/data.json') and writes a malicious Storable blob to /tmp/FileCache/www-mechanize-cached/[sha1].dat. The attacker crafts the blob to trigger code execution via a STORABLE_thaw hook in a commonly loaded module (e.g., DateTime, Moose-based classes). When the victim's script next requests that URL, WWW::Mechanize::Cached reads and deserializes the poisoned cache entry through Storable::thaw, executing the attacker's payload with the victim's privileges. Publicly available exploit code exists per GitHub patch references demonstrating the cache poisoning technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 15, 2026
Local privilege escalation in WWW::Mechanize::Cached for Perl (versions before 2.00) allows authenticated local attackers to inject malicious cached HTTP responses and achieve arbitrary code execution. The module creates world-writable cache directories under /tmp/FileCache with 0777 permissions, enabling any local user to replace cached responses that are deserialized via Storable::thaw. EPSS exploitation probability is low (0.05%, 16th percentile) and no active exploitation is confirmed at time of analysis. Vendor-released patch available in version 2.00 with upstream fix confirmed via GitHub commit b821647.
RemediationAI
Upgrade to WWW::Mechanize::Cached version 2.00 or later, which relocates the default cache from /tmp/FileCache to XDG_CACHE_HOME (typically ~/.cache/WWW-Mechanize-Cached) and enforces directory_umask=077 to create owner-only cache directories. The fix is confirmed by GitHub commit b821647deeedf83490ebc1db91d959d942300ce0 and pull request https://github.com/libwww-perl/WWW-Mechanize-Cached/pull/36. After upgrading, manually remove any existing /tmp/FileCache directories as they are no longer used by version 2.00+. For systems that cannot immediately upgrade, implement compensating controls: explicitly pass a Cache::FileCache object with cache_root pointing to a user-private directory (mode 0700) and directory_umask=>077, for example: Cache::FileCache->new({namespace=>'mymech', cache_root=>'/home/user/.mycache', directory_umask=>077}). Note this workaround requires application code changes and does not protect other processes on the system still using default settings. On multi-user systems, consider restricting /tmp with filesystem mount options (noexec) as defense-in-depth, though this does not prevent cache poisoning.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WWW::Mechanize::Cached is a Perl library that extends WWW::Mechanize with disk-based caching of HTTP responses using the Cache::FileCache backend. The vulnerability stems from CWE-732 (Incorrect Permission Assignment for Critical Resource). When no explicit cache backend is provided, the module instantiates Cache::FileCache with default settings that create cache directories under /tmp/FileCache with directory_umask=000, resulting in mode 0777 permissions without the sticky bit. Cache entries are keyed by sha1_hex of the HTTP request and stored as serialized Storable blobs. On cache hits, the module deserializes these blobs using Storable::thaw, which triggers special hooks (STORABLE_thaw, DESTROY, or overload methods) in any loaded Perl classes. The CPE identifier cpe:2.3:a:oalders:www::mechanize::cached confirms this affects the CPAN distribution maintained by OALDERS.
Know when Www gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
2DescriptionCVE.org
WWW::Mechanize::Cached versions before 2.00 for Perl deserialize cached HTTP responses from a world-writable on-disk cache, enabling local response forgery and code execution.
With no explicit cache backend, WWW::Mechanize::Cached constructs a default Cache::FileCache under /tmp/FileCache without overriding the backend's documented directory_umask of 000, so the cache root and its subdirectories are created mode 0777 with no sticky bit. Cache entries are named by sha1_hex of the request and read back through Storable::thaw on the next cache hit.
A local attacker with write access to the cache tree can replace a victim's cache entry for a known URL with an arbitrary frozen HTTP::Response blob, causing the victim's next get() of that URL to return attacker controlled response bytes. Because the bytes are passed to Storable::thaw, a victim process that has loaded any class with a side-effectful STORABLE_thaw, DESTROY, or overload hook can be escalated to arbitrary code execution.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Vendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Manager Proxy 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Retail Branch Server 4.3 | Fixed |
| SUSE Manager Retail Branch Server LTS 4.3 | Fixed |
| SUSE Manager Server 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE CaaS Platform 4.0 | Fixed |
| SUSE Enterprise Storage 6 | Fixed |
| SUSE Enterprise Storage 7 | Fixed |
| SUSE Enterprise Storage 7.1 | Fixed |
| SUSE Linux Enterprise Desktop 15 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP1 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP2 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP3 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP5 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | Fixed |
| SUSE Linux Enterprise Module for Desktop Applications 15 | Fixed |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP1 | Fixed |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP2 | Fixed |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP3 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP2 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP3 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 | Fixed |
| SUSE Linux Enterprise Server 15 SP1 | Fixed |
| SUSE Linux Enterprise Server 15 SP1-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP2 | Fixed |
| SUSE Linux Enterprise Server 15 SP2-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP3 | Fixed |
| SUSE Linux Enterprise Server 15 SP3-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise Server 15-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Manager Proxy 4.0 | Fixed |
| SUSE Manager Proxy 4.1 | Fixed |
| SUSE Manager Proxy 4.2 | Fixed |
| SUSE Manager Retail Branch Server 4.0 | Fixed |
| SUSE Manager Retail Branch Server 4.1 | Fixed |
| SUSE Manager Retail Branch Server 4.2 | Fixed |
| SUSE Manager Server 4.0 | Fixed |
| SUSE Manager Server 4.1 | Fixed |
| SUSE Manager Server 4.2 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
| openSUSE Leap 15.6 | Fixed |
EUVD-2026-30495
GHSA-38r9-g25v-vcvr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB