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.4%, top 70% of all CVEs by exploit prediction. 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
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.7
- EG Score
- 7.7(medium)
- EG Risk
- 39(Track)EG Risk 39/100SSVC: Track
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%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 30%
- KEV
- Not listed
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 | Fixed in | Dependents |
|---|---|---|---|
| phpoffice/phpspreadsheet | 1.0.0 ... 1.9.0 (63 versions) | 1.30.6 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 53× 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.
- 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
Show 30 moreShow fewer
- 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
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:59 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 14:10 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 12:20 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 10:31 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 19:47 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 10:12 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 18:27 UTCEG score recompute
- 2026-07-26 22:39 UTCEG score recompute
- 2026-07-23 15:12 UTCEG score recompute
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.