CVE-2026-144591: PhpSpreadsheet through 5.12.0 SSRF via Redirect in Writer External Drawing Fetches

Published Dec 4, 2026
·
Updated

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 filegetcontents() 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.

Affected Software

1 affected component
composer/phpoffice/phpspreadsheet<=5.12.0

Event History

Dec 4, 2026
CVE Published
via MITRE·01:08 AM
Data Sourced
via MITRE·01:08 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments are exposed when they process an attacker-supplied spreadsheet containing an external drawing URL and then generate XLSX, ODS, XLS, or HTML output. The vulnerable behavior is in the writer's subsequent retrieval of the external drawing.

2

What does an attacker need to control to exploit it?

The attacker needs to provide a spreadsheet whose image URL is hosted by a server they control. That server must return a valid image when the spreadsheet is read and redirect the writer's later request to an internal endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203