{"id":"CVE-2026-8612","state":"PUBLISHED","title":"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","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.\n\nWith 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.\n\nA 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.","publishedAt":"2026-05-15T01:11:55.018Z","updatedAt":"2026-05-15T14:31:14.593Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"CPANSec","products":["OALDERS WWW::Mechanize::Cached"],"affected":[{"vendor":"OALDERS","product":"WWW::Mechanize::Cached","packageName":"WWW-Mechanize-Cached","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.00","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/WWW/Mechanize/Cached.pm"],"programRoutines":[{"name":"WWW::Mechanize::Cached::_build_cache"},{"name":"WWW::Mechanize::Cached::_make_request"}],"repo":"https://github.com/libwww-perl/WWW-Mechanize-Cached"}],"references":["https://github.com/libwww-perl/WWW-Mechanize-Cached/pull/36","https://github.com/libwww-perl/WWW-Mechanize-Cached/commit/b821647deeedf83490ebc1db91d959d942300ce0.patch","https://metacpan.org/release/OALDERS/WWW-Mechanize-Cached-2.00/changes","http://www.openwall.com/lists/oss-security/2026/05/15/1"],"weaknesses":["CWE-732","CWE-502"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/8xxx/CVE-2026-8612.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-8612","state":"PUBLISHED","datePublished":"2026-05-15T01:11:55.018Z","dateUpdated":"2026-05-15T14:31:14.593Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-14T16:30:23.954Z"},"containers":{"cna":{"title":"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","descriptions":[{"lang":"en","value":"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.\n\nWith 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.\n\nA 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."}],"affected":[{"vendor":"OALDERS","product":"WWW::Mechanize::Cached","packageName":"WWW-Mechanize-Cached","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.00","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/WWW/Mechanize/Cached.pm"],"programRoutines":[{"name":"WWW::Mechanize::Cached::_build_cache"},{"name":"WWW::Mechanize::Cached::_make_request"}],"repo":"https://github.com/libwww-perl/WWW-Mechanize-Cached"}],"references":[{"url":"https://github.com/libwww-perl/WWW-Mechanize-Cached/pull/36","tags":["patch"]},{"url":"https://github.com/libwww-perl/WWW-Mechanize-Cached/commit/b821647deeedf83490ebc1db91d959d942300ce0.patch","tags":["patch"]},{"url":"https://metacpan.org/release/OALDERS/WWW-Mechanize-Cached-2.00/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","description":"CWE-732 Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-15T01:11:55.018Z"},"solutions":[{"lang":"en","value":"Upgrade to WWW-Mechanize-Cached 2.00 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-05-13T00:00:00.000Z","value":"Issue reported."},{"lang":"en","time":"2026-05-14T00:00:00.000Z","value":"WWW-Mechanize-Cached 2.00 released with fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/15/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-15T05:18:42.682Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-15T14:30:45.332316Z","id":"CVE-2026-8612","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-15T14:31:14.593Z"}}]}}}