CVE-2026-108360
Published:October 22, 2026
Updated:October 23, 2026
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0, Worksheet\Drawing::setPath validates only the initial external-image URL with setIsWhitelisted when setAllowExternalImages is enabled. The HTTP stream context permits PHP to follow a redirect without applying the callback to the redirected URL, so a permitted image host can redirect the server to an internal address and cause a blind GET request. The response body is not returned to the attacker because the reader validates the downloaded content as an image and removes the temporary file, but internal GET-driven endpoints, network reachability, and cloud metadata endpoints may be reached. This issue is fixed in versions 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0.
Affected Packages
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=3.10.4 <3.10.8Fix Suggestion:
Update to version 3.10.8https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=2.1.15 <2.1.19Fix Suggestion:
Update to version 2.1.19https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=1.30.3 <1.30.7Fix Suggestion:
Update to version 1.30.7https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=2.4.4 <2.4.8Fix Suggestion:
Update to version 2.4.8https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=5.5.0 <5.10.0Fix Suggestion:
Update to version 5.10.0phpoffice/phpspreadsheet (PHP):
Affected version(s) >=1.30.3 <1.30.7Fix Suggestion:
Update to version 1.30.7phpoffice/phpspreadsheet (PHP):
Affected version(s) >=2.1.15 <2.1.19Fix Suggestion:
Update to version 2.1.19phpoffice/phpspreadsheet (PHP):
Affected version(s) >=5.5.0 <5.10.0Fix Suggestion:
Update to version 5.10.0phpoffice/phpspreadsheet (PHP):
Affected version(s) >=2.4.4 <2.4.8Fix Suggestion:
Update to version 2.4.8phpoffice/phpspreadsheet (PHP):
Affected version(s) >=3.10.4 <3.10.8Fix Suggestion:
Update to version 3.10.8Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE