Review reviewCritical

CVE-2026-34084

PHPOffice PhpSpreadsheet, phpspreadsheet

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.sf...

CVSS
9.2
EPSS
0.71%
50.1% percentile
CISA KEV
Not listed
Published
2026.05.06
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.71%
Technical severityCVSS 9.2

Vulnerability overview

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.sf...

Affected product and versions

Product
PHPOffice PhpSpreadsheet, phpspreadsheet
Affected versions
>= >= 4.0.0, <= 5.5.0, >= >= 3.3.0, <= 3.10.3, >= >= 2.2.0, <= 2.4.3, >= >= 2.0.0, <= 2.1.14, >= <= 1.30.2, < 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
Fixed versions
1.30.3, 2.1.15, 2.4.4, 3.10.4, 5.6.0

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that PHPOffice PhpSpreadsheet, phpspreadsheet and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE
CWE-502, CWE-918
CVE-2026-34084 — PHPOffice PhpSpreadsheet, phpspreadsheet | SECUFOCUS NOW