Skip to main content

CVE-2026-108360: CWE-863: Incorrect Authorization in PHPOffice PhpSpreadsheet

0
Medium
VulnerabilityCVE-2026-108360cvecve-2026-108360cwe-863cwe-918
Published: 10/22/2026 (10/22/2026, 17:26:59 UTC)
Source: CVE Database V5
Vendor/Project: PHPOffice
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

PHPOffice

PhpSpreadsheet

Affected versions
<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
Packagistmore threats →ai
phpoffice/phpspreadsheet
pkg:composer/phpoffice/phpspreadsheet
Affected versions
<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

Run 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

AILast updated: 10/22/2026, 18:00:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses