CVE-2026-45034: PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files
CVE-2026-45034 is a critical-severity flaw (CVSS 9.2) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.5, CVE-2026-34084 was patched by the helper File::prohibitWrappers. The helper calls parse_url($filename, PHP_URL_SCHEME) and then checks is_string($scheme) && strlen($scheme) > 1 to reject stream wrappers such as phar://, php://, data:// or expect://. The check is not equivalent to "does the path contain a wrapper". When the input has the form phar:///p
Why this priority
- Critical severity
- CISA SSVC: public proof of concept
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.2 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 60%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2026-06-22 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: SangSenimanWartefak/CVE-2026-45034 (0 stars)
- Write-up: github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-87m4-826x-3crx
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-45034?
No fixed release is listed yet. Watch the vendor advisory and apply any mitigation shown on this page.
Is CVE-2026-45034 being exploited?
CVE-2026-45034 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-45034 affect?
CVE-2026-45034 affects affected software. Severity is critical (CVSS 9.2). PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.5, CVE-2026-34084 was patched by the helper File::prohibitWrappers. The helper calls parse_url($filename, PHP_URL_SCHEME) and then checks is_strin
How urgent is CVE-2026-45034?
Priority 53/100. Critical severity; CISA SSVC: public proof of concept; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action