CVE-2026-108360: CWE-863: Incorrect Authorization in PHPOffice PhpSpreadsheet
Description
CVE-2026-108360 is an authorization vulnerability in PHPOffice PhpSpreadsheet affecting versions prior to 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0. The issue arises when external image URLs are validated only initially, allowing a permitted image host to redirect the server to internal addresses, causing blind GET requests. Although the response body is not exposed to attackers, internal endpoints and cloud metadata services may be accessed. This vulnerability has a medium severity rating with a CVSS score of 6.4 and has been fixed in the specified versions.
CVSS v3.1
Score 6.4medium
Affected software
PHPOffice
PhpSpreadsheet
pkg:composer/phpoffice/phpspreadsheetRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PhpSpreadsheet versions before 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0 contain an incorrect authorization vulnerability (CWE-863) in the Worksheet\Drawing::setPath method. When setAllowExternalImages is enabled, only the initial external image URL is validated against a whitelist. Due to the HTTP stream context allowing PHP to follow redirects without reapplying the whitelist callback, an attacker can cause the server to follow redirects to internal network addresses or cloud metadata endpoints, resulting in blind GET requests. The downloaded content is validated as an image and temporary files are removed, so no data is returned to the attacker. The vulnerability is fixed in the versions listed.
Potential Impact
An attacker can exploit this vulnerability to cause the server to make blind HTTP GET requests to internal network resources or cloud metadata endpoints by leveraging redirect behavior in external image URLs. While the attacker does not receive the response content, this can reveal network reachability and potentially access sensitive internal services. The vulnerability does not allow direct data exfiltration or denial of service but can be used for internal network reconnaissance.
Mitigation Recommendations
This vulnerability is fixed in PhpSpreadsheet versions 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0. Users should upgrade to these or later versions to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-09T20:32:44.301Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ada4bef4d27ba8daa6ca6fd
Added to database: 10/22/2026, 17:46:23 UTC
Last enriched: 10/22/2026, 18:00:51 UTC
Last updated: 10/22/2026, 18:00:51 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.