PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In versions 4.0.0 through 5.8.0, 3.3.0 through 3.10.6, 2.2.0 through 2.4.6, 2.0.0 through 2.1.17, and all releases up to and including 1.30.5, the WEBSERVICE() domain whitelist can be bypassed via an HTTP redirect (SSRF). In Calculation/Web/Service.php, the webService() method validates a URL's host against the whitelist set via Spreadsheet::setDomainWhiteList(), then fetches content with file_get_contents($url, false, $ctx); because PHP's HTTP stream wrapper follows 301/302 redirects automatically (up to 20 hops) and the redirect target is never re-validated, an attacker who can trigger a redirect from a whitelisted domain can reach arbitrary URLs, including internal addresses. An attacker able to upload XLSX files to an application that uses setDomainWhiteList() and getCalculatedValue() can achieve a full-read SSRF, returning up to 32,767 bytes of the response body as a cell's calculated value, which enables exfiltration of cloud metadata (AWS/GCP/Azure credentials via http://169.254.169.254/), access to internal-only services, and internal port scanning (the port is not validated). This issue has been fixed in versions 5.8.1, 3.10.7, 2.4.7, 2.1.18, and 1.30.6.
CVE-2026-59931
This high-severity CVE scores 7.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5% (42nd percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.7
- EG Score
- 7.7HIGHmedium confidence
- EG Risk
- 39EG Risk 39/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity77% × 45%Exploitation1% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.5%
- EPSS %ILE
- 43rd
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
July 23, 2026
Last Modified
July 30, 2026
Advisory Details (7)
Auto-updated Jul 28, 20265.8.1
Patch available: PHPOffice/PhpSpreadsheet 5.8.1
https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.8.13.10.7
Patch available: PHPOffice/PhpSpreadsheet 3.10.7
https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.72.4.7
Patch available: PHPOffice/PhpSpreadsheet 2.4.7
https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.72.1.18
Patch available: PHPOffice/PhpSpreadsheet 2.1.18
https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.181.30.6
Patch available: PHPOffice/PhpSpreadsheet 1.30.6
https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.6commit 7ef7b25e8548 (PHPOffice/PhpSpreadsheet)
Patch available: PHPOffice/PhpSpreadsheet 5.8.1 (contains commit 7ef7b25e8548)
https://github.com/PHPOffice/PhpSpreadsheet/commit/7ef7b25e8548a6ded79dac74e2e2c7acdac38d8dSSRF bypass via HTTP redirect in WEBSERVICE() domain whitelist · Advisory · PHPOffice/PhpSpreadsheet · GitHub
https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-6hq5-7373-42rgVendor Advisories for CVE-2026-59931(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| phpoffice/phpspreadsheet | 1.0.0 ... 1.9.0 (63 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 39× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 118 total refreshes for this CVE.
- 2026-10-10 20:00 UTCEPSS rescore
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-08 17:13 UTCEPSS rescore
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-06 15:18 UTCEPSS rescore
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 08:21 UTCEG score recompute
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-03 03:25 UTCEG score recompute
- 2026-10-02 17:56 UTCEPSS rescore
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-10-01 06:17 UTCEG score recompute
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-29 15:22 UTCEPSS rescore
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-28 05:06 UTCEG score recompute
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-24 01:12 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-22 22:43 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 01:47 UTCEG score recompute
Show 75 moreShow fewer
- 2026-09-18 22:33 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 03:06 UTCEG score recompute
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-17 02:02 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 06:47 UTCEG score recompute
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 03:11 UTCEPSS rescore
- 2026-09-14 03:04 UTCEG score recompute
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-13 01:15 UTCEG score recompute
- 2026-09-11 20:27 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 15:10 UTCEG score recompute
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 08:56 UTCEG score recompute
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 21:30 UTCEG score recompute
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 19:53 UTCEG score recompute
- 2026-09-05 06:59 UTCEG score recompute
- 2026-09-04 13:16 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 23:22 UTCEG score recompute
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 02:23 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 13:28 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-30 00:33 UTCEG score recompute
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 23:48 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 22:00 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 19:59 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 18:11 UTCEG score recompute
- 2026-08-23 02:18 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 00:26 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 11:32 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 20:48 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 18:59 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 02:38 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 00:50 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 11:56 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 10:08 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 08:19 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 17:35 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 15:45 UTCEG score recompute
- 2026-08-11 02:51 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 01:03 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 23:15 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 21:26 UTCEG score recompute
- 2026-08-06 19:38 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-06 06:44 UTCEG score recompute
Related CVEs(same product + same CWE)
Same product
10 shownPackagist:phpoffice/phpspreadsheet
Frequently asked(5)
What is CVE-2026-59931?
When was CVE-2026-59931 disclosed?
Is CVE-2026-59931 actively exploited?
What is the CVSS score of CVE-2026-59931?
How do I remediate CVE-2026-59931?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59931
Is Your Infrastructure Affected by CVE-2026-59931?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.