CVE-2026-34084: Vulnerability in Phpoffice Phpspreadsheet
Critical. 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...
Packagist, CWE-502, CWE-918
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-q4q6-r8wh-5cgh
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-502, CWE-918
- Published
- 29 Apr 2026
- Last change
- 24 Jul 2026
- Ecosystem
- Packagist
Affected products
Affected versions and the first fixed release
- Phpoffice Phpspreadsheet Before 1.30.3; From 2.0.0 before 2.1.15; From 2.2.0 before 2.4.4; From 3.3.0 before 3.10.4; From 4.0.0 before 5.6.0. Fixed in 1.30.3, 2.1.15, 2.4.4, 3.10.4, 5.6.0
Affected packages
Vulnerable version ranges and fixed releases
- phpoffice/phpspreadsheet Packagist, Affected from 4.0.0 through 5.5.0. Fixed in 5.6.0
Advisories
Vendor and security advisories
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-q4q6-r8wh-5cgh
- php.net/manual/en/wrappers.php
Related
- Phpspreadsheet vulnerabilities Recent advisories, watch this product