Server-side Request Forgery (SSRF) Affecting phpoffice/phpspreadsheet package, versions <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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PHPOFFICEPHPSPREADSHEET-16347738
  • published3 May 2026
  • disclosed29 Apr 2026
  • creditcalligraf0

Introduced: 29 Apr 2026

NewCVE-2026-34084  (opens in a new tab)
CWE-502  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade phpoffice/phpspreadsheet to version 1.30.3, 2.1.15, 2.4.4, 3.10.4, 5.6.0 or higher.

Overview

phpoffice/phpspreadsheet is a Spreadsheet engine that Read, Create and Write Spreadsheet documents in PHP .

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the IOFactory::load process. An attacker can execute arbitrary code or initiate unauthorized network requests by supplying a crafted file path that leverages PHP stream wrappers such as phar://, ftp://, or ssh2.sftp:// to the process.

CVSS Base Scores

version 4.0
version 3.1