Skip to content
RedCVE

CVE-2026-108360Phpoffice PhpSpreadsheet incorrect authorization

PHPOfficePublished:

CVSS score

6.4

Medium

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.34%

0.34% chance of exploitation in the next 30 days, higher than 27.8% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0, Worksheet\Drawing::setPath validates only the initial external-image URL with setIsWhitelisted when setAllowExternalImages is enabled. The HTTP stream context permits PHP to follow a redirect without applying the callback to the redirected URL, so a permitted image host can redirect the server to an internal address and cause a blind GET request. The response body is not returned to the attacker because the reader validates the downloaded content as an image and removes the temporary file, but internal GET-driven endpoints, network reachability, and cloud metadata endpoints may be reached. This issue is fixed in versions 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running PHPOffice PhpSpreadsheet and compare its version with the affected versions.

  2. Update to a fixed version

    • Update PhpSpreadsheet to 1.30.7, 2.1.19, 2.4.8, 3.10.8 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected products

Affected productsVersions
PHPOffice PhpSpreadsheet< 1.30.7 · >= 2.0.0, < 2.1.19 · >= 2.2.0, < 2.4.8 · >= 3.3.0, < 3.10.8 · >= 4.0.0, < 5.10.0

Weakness

  • CWE-863 incorrect authorization
  • CWE-918 server-side request forgery (SSRF)

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-108360 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-108360?

CVE-2026-108360 has a CVSS 3.1 base score of 6.4 (medium).

Which versions are affected?

Phpoffice PhpSpreadsheet (< 1.30.7; >= 2.0.0, < 2.1.19; >= 2.2.0, < 2.4.8; >= 3.3.0, < 3.10.8; >= 4.0.0, < 5.10.0)

Is there a patch for CVE-2026-108360?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.