BreachSpiderVerified, not vibes

CVE-2026-34084 in Phpoffice Phpspreadsheet

Critical 9.8

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
CVSS v49.2
EPSS0.8%
EPSS percentile53th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Phpoffice Phpspreadsheet < 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

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34084
BreachSpider IDBS-2026-GLOBAL-268646-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2026-05-05
Last modified2026-07-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-502: Deserialization of Untrusted Data

Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

CAPEC-586 Object Injection via CWE-502

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

{ "executive_summary": "PhpSpreadsheet 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 are vulnerable to remote code execution due to improper validation of the filename argument in IOFactory::load(). An attacker can exploit this by providing a malicious PHP stream wrapper path, which can lead to arbitrary code execution.", "attack_vector_detail": "The vulnerability arises from the use of user-controlled input in the filename argument of the IOFactory::load() method without proper validation. This allows an attacker to supply a PHP stream wrapper path that bypasses the is_file() check in File::assert, leading to the execution of arbitrary code.", "affected_components": ["PhpSpreadsheet 1.30.2 and earlier", "PhpSpreadsheet 2.0.0 through 2.1.14", "PhpSpreadsheet 2.2.0 through 2.4.3", "PhpSpreadsheet 3.

Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2026-34084?

{ "executive_summary": "PhpSpreadsheet 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 are vulnerable to remote code execution due to improper validation of the filename argument in IOFactory::load(). An attacker can exploit this by providing a malicious PHP stream wrapper path, which can lead to arbitrary code execution.", "attack_vector_detail": "The vulnerability arises from the use of user-controlled input in the filen

What is the CVSS score for CVE-2026-34084?

CVE-2026-34084 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.

Is CVE-2026-34084 actively exploited?

No confirmed active exploitation of CVE-2026-34084 as of 2026-07-25.

How do I remediate CVE-2026-34084?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34084?

CVE-2026-34084 affects Phpoffice Phpspreadsheet.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Phpoffice","product":"Phpspreadsheet","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.