---
title: "CVE-2026-34084: PhpSpreadsheet has SSRF/RCE in IOFactory::load when $filename is user controlled"
url: https://erroneo.us/security/cve/CVE-2026-34084/
description: "CVE-2026-34084 (phpoffice/phpspreadsheet (Composer (PHP))): PhpSpreadsheet is a library for reading and writing spreadsheet files. In versions 1.30.2 and…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-05
date_modified: 2026-05-08
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-34084"
kev: false
cvss: 9.2
epss: 0.00782
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-34084: PhpSpreadsheet has SSRF/RCE in IOFactory::load when $filename is user controlled

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.8% , percentile 55: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 55% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes phpoffice/phpspreadsheet (Composer (PHP)) >= 4.0.0, <= 5.5.0, fixed in 5.6.0 ; phpoffice/phpspreadsheet (Composer (PHP)) >= 3.3.0, <= 3.10.3, fixed in 3.10.4 ; phpoffice/phpspreadsheet (Composer (PHP)) >= 2.2.0, <= 2.4.3, fixed in 2.4.4 ; phpoffice/phpspreadsheet (Composer (PHP)) >= 2.0.0, <= 2.1.14, fixed in 2.1.15 . Check your lockfile, including transitive dependencies.

## What it is

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 isfile() 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.

## Affected packages

- Composer (PHP) `phpoffice/phpspreadsheet` >= 4.0.0, <= 5.5.0 → fixed: 5.6.0
- Composer (PHP) `phpoffice/phpspreadsheet` >= 3.3.0, <= 3.10.3 → fixed: 3.10.4
- Composer (PHP) `phpoffice/phpspreadsheet` >= 2.2.0, <= 2.4.3 → fixed: 2.4.4
- Composer (PHP) `phpoffice/phpspreadsheet` >= 2.0.0, <= 2.1.14 → fixed: 2.1.15
- Composer (PHP) `phpoffice/phpspreadsheet` <= 1.30.2 → fixed: 1.30.3

## Affected products (CVE record)

- PHPOffice PhpSpreadsheet: >= 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

## Severity

- GitHub_M CVSS 4.0: 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`
- GitHub CVSS 4.0: 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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.78% probability of exploitation activity in the next 30 days; percentile 55.

## Sources

- [GitHub Advisory GHSA-q4q6-r8wh-5cgh](https://github.com/advisories/GHSA-q4q6-r8wh-5cgh)
- [CVE.org record CVE-2026-34084](https://www.cve.org/CVERecord?id=CVE-2026-34084)
- [NVD entry CVE-2026-34084](https://nvd.nist.gov/vuln/detail/CVE-2026-34084)
- [github.com](https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-q4q6-r8wh-5cgh)
- [php.net](https://www.php.net/manual/en/wrappers.php)

---
Source page: https://erroneo.us/security/cve/CVE-2026-34084/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
