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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
CVSS v4
9.2
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 · source cna
Exploit chance (EPSS)
0.712%
chance of exploitation in the next 30 days
higher than 54.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impacttotal
Scored2026-05-05

Timeline

  1. 2026-04-29GitHub advisory published (GHSA-q4q6-r8wh-5cgh)6 days before publication
  2. 2026-05-05Published by the CNA19:22 UTC
  3. 2026-05-05CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-q4q6-r8wh-5cgh, affected packages:

PackageVulnerable versionsFixed in
Packagist phpoffice/phpspreadsheetbefore 1.30.31.30.3
Packagist phpoffice/phpspreadsheetfrom 2.0.0 before 2.1.152.1.15
Packagist phpoffice/phpspreadsheetfrom 2.2.0 before 2.4.42.4.4
Packagist phpoffice/phpspreadsheetfrom 3.3.0 before 3.10.43.10.4
Packagist phpoffice/phpspreadsheetfrom 4.0.0 before 5.6.05.6.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
phpoffice phpspreadsheetbefore 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.01.30.32.1.152.4.43.10.45.6.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources