CVE-2026-59931

HIGHPre-NVD 7.77.7
EchelonGraph scoreMEDIUM confidence

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).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
7.7EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.7Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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 computed
Severity77% × 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, 2026
🔬 Proof of concept available. Patch available. Sources: github, github_commit, github_release.
github_release Patch Available

5.8.1

Patch available: PHPOffice/PhpSpreadsheet 5.8.1

https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.8.1
github_release Patch Available

3.10.7

Patch available: PHPOffice/PhpSpreadsheet 3.10.7

https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.7
github_release Patch Available

2.4.7

Patch available: PHPOffice/PhpSpreadsheet 2.4.7

https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.7
github_release Patch Available

2.1.18

Patch available: PHPOffice/PhpSpreadsheet 2.1.18

https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.18
github_release Patch Available

1.30.6

Patch available: PHPOffice/PhpSpreadsheet 1.30.6

https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.6
github_commit Patch Available

commit 7ef7b25e8548 (PHPOffice/PhpSpreadsheet)

Patch available: PHPOffice/PhpSpreadsheet 5.8.1 (contains commit 7ef7b25e8548)

https://github.com/PHPOffice/PhpSpreadsheet/commit/7ef7b25e8548a6ded79dac74e2e2c7acdac38d8d
github Patch Available🟡 PoC Available

SSRF bypass via HTTP redirect in WEBSERVICE() domain whitelist · Advisory · PHPOffice/PhpSpreadsheet · GitHub

https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-6hq5-7373-42rg

Vendor 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)
PackageVulnerable rangeFixed inDependents
phpoffice/phpspreadsheet1.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.

  1. 2026-08-26 14:46 UTCEPSS rescore
  2. 2026-08-25 19:59 UTCEG score recompute
  3. 2026-08-25 13:49 UTCEPSS rescore
  4. 2026-08-24 18:11 UTCEG score recompute
  5. 2026-08-23 02:18 UTCEG score recompute
  6. 2026-08-23 00:19 UTCEPSS rescore
  7. 2026-08-22 00:26 UTCEG score recompute
  8. 2026-08-21 23:49 UTCEPSS rescore
  9. 2026-08-21 11:32 UTCEG score recompute
  10. 2026-08-20 22:55 UTCEPSS rescore
  11. 2026-08-19 20:48 UTCEG score recompute
  12. 2026-08-19 17:04 UTCEPSS rescore
  13. 2026-08-18 18:59 UTCEG score recompute
  14. 2026-08-18 13:48 UTCEPSS rescore
  15. 2026-08-18 02:38 UTCEG score recompute
  16. 2026-08-17 13:47 UTCEPSS rescore
  17. 2026-08-17 00:50 UTCEG score recompute
  18. 2026-08-16 14:56 UTCEPSS rescore
  19. 2026-08-16 11:56 UTCEG score recompute
  20. 2026-08-16 02:14 UTCEPSS rescore
  21. 2026-08-15 10:08 UTCEG score recompute
  22. 2026-08-15 01:30 UTCEPSS rescore
  23. 2026-08-14 08:19 UTCEG score recompute
  24. 2026-08-13 22:00 UTCEPSS rescore
  25. 2026-08-12 17:35 UTCEG score recompute
Show 30 more
  1. 2026-08-12 13:51 UTCEPSS rescore
  2. 2026-08-11 15:45 UTCEG score recompute
  3. 2026-08-11 02:51 UTCEG score recompute
  4. 2026-08-11 00:00 UTCEPSS rescore
  5. 2026-08-10 01:03 UTCEG score recompute
  6. 2026-08-09 13:46 UTCEPSS rescore
  7. 2026-08-08 23:15 UTCEG score recompute
  8. 2026-08-08 16:37 UTCEPSS rescore
  9. 2026-08-07 21:26 UTCEG score recompute
  10. 2026-08-06 19:38 UTCEG score recompute
  11. 2026-08-06 13:47 UTCEPSS rescore
  12. 2026-08-06 06:44 UTCEG score recompute
  13. 2026-08-05 19:17 UTCEPSS rescore
  14. 2026-08-04 15:59 UTCEG score recompute
  15. 2026-08-04 15:10 UTCEPSS rescore
  16. 2026-08-04 10:39 UTCEPSS rescore
  17. 2026-08-03 14:10 UTCEG score recompute
  18. 2026-08-03 10:36 UTCEPSS rescore
  19. 2026-08-02 12:20 UTCEG score recompute
  20. 2026-08-02 02:27 UTCEPSS rescore
  21. 2026-08-01 10:31 UTCEG score recompute
  22. 2026-08-01 04:16 UTCEPSS rescore
  23. 2026-07-30 19:47 UTCEG score recompute
  24. 2026-07-30 16:28 UTCEPSS rescore
  25. 2026-07-30 10:12 UTCEG score recompute
  26. 2026-07-30 01:30 UTCEPSS rescore
  27. 2026-07-30 01:30 UTCEPSS rescore
  28. 2026-07-28 18:27 UTCEG score recompute
  29. 2026-07-26 22:39 UTCEG score recompute
  30. 2026-07-23 15:12 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-59931?
CVE-2026-59931 is a high vulnerability published on July 23, 2026. 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…
When was CVE-2026-59931 disclosed?
CVE-2026-59931 was first published in the National Vulnerability Database on July 23, 2026, with the most recent update on July 30, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-59931 actively exploited?
CVE-2026-59931 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 69.9% of all scored CVEs.
What is the CVSS score of CVE-2026-59931?
CVE-2026-59931 has a CVSS v3 base score of 7.7 (NVD).
How do I remediate CVE-2026-59931?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-59931, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59931

Explore →

Is Your Infrastructure Affected by CVE-2026-59931?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.