cve.bz

CVE-2026-34084 phpoffice phpspreadsheet: Deserialization of Untrusted Data

9.2 criticalExploit referenceEPSS 0.7%Fix available

Critical (9.2) in phpoffice phpspreadsheet. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in phpoffice/phpspreadsheet 1.30.3, 2.1.15, 2.4.4.

On this page
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

CVSS 4.0

9.2 critical
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-05-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-502 Deserialization of Untrusted Data
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-34084 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34084?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34084?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-34084 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
phpoffice:phpspreadsheetbefore 1.30.3
phpoffice:phpspreadsheetfrom 2.0.0 before 2.1.15
phpoffice:phpspreadsheetfrom 2.2.0 before 2.4.4
phpoffice:phpspreadsheetfrom 3.3.0 before 3.10.4
phpoffice:phpspreadsheetfrom 4.0.0 before 5.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q4q6-r8wh-5cghPackagistphpoffice/phpspreadsheet>=4.0.0 <5.6.05.6.0
GHSA-q4q6-r8wh-5cghPackagistphpoffice/phpspreadsheet>=3.3.0 <3.10.43.10.4
GHSA-q4q6-r8wh-5cghPackagistphpoffice/phpspreadsheet>=2.2.0 <2.4.42.4.4
GHSA-q4q6-r8wh-5cghPackagistphpoffice/phpspreadsheet>=2.0.0 <2.1.152.1.15
GHSA-q4q6-r8wh-5cghPackagistphpoffice/phpspreadsheet<1.30.31.30.3

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High
  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON