CVE-2026-8612
WWW::Mechanize::Cached versions before 2.00 for Perl deserialize cached HTTP responses from a world-writable on-disk cache, enabling local response forgery…
Check your servers for CVE-2026-8612
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-8612 affects www-mechanize-cached, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 15 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-502 Deserialization of Untrusted Data
- CWE-732 Incorrect Permission Assignment for Critical Resource
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
WWW::Mechanize::Cached
package
WWW-Mechanize-Cached |
affected before 2.00
Other versions: unaffected
|
Is my server affected?
Find the installed version of www-mechanize-cached and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i www-mechanize-cached
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-8612 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-8612RHEL, Rocky, Alma, Fedora
rpm -q www-mechanize-cached
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-8612Alpine
apk list --installed | grep -i www-mechanize-cachedWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-8612
trivy image --scanners vuln IMAGE | grep CVE-2026-8612
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- https://github.com/libwww-perl/WWW-Mechanize-Cached/pull/36 github.com · patch
- https://github.com/libwww-perl/WWW-Mechanize-Cached/commit/b821647deeedf83490ebc1db91d959d942300ce0.patch github.com · patch
- https://metacpan.org/release/OALDERS/WWW-Mechanize-Cached-2.00/changes metacpan.org · release notes
Other references
Source: the record CVE-2026-8612 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse