CVE-2026-34084
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.
Weakness
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-05-05 |
Timeline
- 2026-04-29GitHub advisory published (GHSA-q4q6-r8wh-5cgh)6 days before publication
- 2026-05-05Published by the CNA19:22 UTC
- 2026-05-05CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-q4q6-r8wh-5cgh, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist phpoffice/phpspreadsheet | before 1.30.3 | 1.30.3 |
| Packagist phpoffice/phpspreadsheet | from 2.0.0 before 2.1.15 | 2.1.15 |
| Packagist phpoffice/phpspreadsheet | from 2.2.0 before 2.4.4 | 2.4.4 |
| Packagist phpoffice/phpspreadsheet | from 3.3.0 before 3.10.4 | 3.10.4 |
| Packagist phpoffice/phpspreadsheet | from 4.0.0 before 5.6.0 | 5.6.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| phpoffice phpspreadsheet | before 1.30.3fixed in 1.30.3from 2.0.0 before 2.1.15fixed in 2.1.15from 2.2.0 before 2.4.4fixed in 2.4.4from 3.3.0 before 3.10.4fixed in 3.10.4from 4.0.0 before 5.6.0fixed in 5.6.0 | 1.30.32.1.152.4.43.10.45.6.0 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-34084'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-34084'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-34084'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-34084'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).