CVE-2026-34084 Details
Description
PhpSpreadsheet is a library for reading and writing spreadsheet files. In versions 1.30.2 and earlier, 2.0.0 through 2.1.14, 2.2.0 through 2.4.3, 3.3.0 through 3.10.3, and 4.0.0 through 5.5.0, when the filename argument to IOFactory::load() is user-controlled, an attacker can supply a PHP stream wrapper path (such as phar://, ftp://, or ssh2.sftp://) that passes the is_file() check in File::assertFile(). The phar:// wrapper triggers deserialization of the PHAR metadata, which can lead to remote code execution if a suitable gadget chain is available in the application. The ftp:// and ssh2.sftp:// wrappers can be used for server-side request forgery. This issue has been fixed in versions 1.30.3, 2.1.15, 2.4.4, 3.10.4, and 5.6.0.
A vulnerability exists in PhpSpreadsheet versions 1.30.2 and earlier, as well as 2.0.0 through 2.1.14, 2.2.0 through 2.4.3, 3.3.0 through 3.10.3, and 4.0.0 through 5.5.0. When the filename argument in IOFactory::load() is user-controlled, an attacker can provide a PHP stream wrapper path (such as phar://, ftp://, or ssh2.sftp://) that bypasses the is_file() check in File::assertFile(). The phar:// wrapper can trigger deserialization of PHAR metadata, potentially leading to remote code execution if a suitable gadget chain is available. The ftp:// and ssh2.sftp:// wrappers could be exploited for server-side request forgery.
Users are advised to update PhpSpreadsheet to version 5.6.0, 3.10.4, 2.4.4, 2.1.15, or 1.30.3.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-q4q6-r8wh-5cgh | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-q4q6-r8wh-5cgh | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| phpoffice phpspreadsheet | < 1.30.3 >= 2.0.0, < 2.1.15 >= 2.2.0, < 2.4.4 >= 3.3.0, < 3.10.4 >= 4.0.0, < 5.6.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 5, 2026 | New CVE Received | [email protected] |
| May 5, 2026 | CVE Modified | CISA-ADP |