{"id":"CVE-2026-144591","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"PhpSpreadsheet through 5.12.0 SSRF via Redirect in Writer External Drawing Fetches","description":"PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to reach internal addresses because writers re-fetch external drawing URLs with file_get_contents() following redirects. Attackers can supply a spreadsheet whose image host serves a valid image to the reader and then redirects the writer's fetch to internal endpoints, leaking response data in generated xlsx, ods, xls or html files.","ai_summary":{"text":"An attacker can make PhpSpreadsheet server-side fetch internal addresses via redirects in external drawing URLs, leaking response data into generated xlsx, ods, xls or html files.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"high","cvss":{"score":8.9,"version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","source":"CNA"},"scores":[{"score":8.9,"source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","version":"4.0"},{"score":6.8,"source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},{"score":8.9,"source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"}],"cwe":["CWE-918"],"remote":true,"remote_unauth":true,"epss":null,"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"PHPOffice","product":"PhpSpreadsheet","versions":"<= 5.12.0"}],"ai_versions":{"affected":[{"text":"through 5.12.0","quote":"PhpSpreadsheet through 5.12.0","product":"phpspreadsheet"}],"fixed":[],"model":"claude-haiku-5-5","label":"AI-extracted versions"},"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[{"slug":"php","name":"PHP","method":"ai"}],"references":[{"url":"https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Writer/Xlsx.php#L598-L622","kind":"article"},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Writer/Ods/Drawing.php#L60-L66","kind":"article"},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Worksheet/Drawing.php#L140-L180","kind":"article"},{"url":"https://www.vulncheck.com/advisories/phpspreadsheet-through-5.12.0-ssrf-via-redirect-in-writer-external-drawing-fetches","kind":"other"}],"workarounds":null,"vendors":["phpoffice"],"products":["phpspreadsheet"],"cpes":[],"published_at":"2026-12-04T01:08:49.868Z","modified_at":"2026-12-04T02:17:03.223Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144591"}],"links":{"html":"https://flawdb.com/CVE-2026-144591","markdown":"https://flawdb.com/CVE-2026-144591.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-144591"}}