PHPOffice
PhpSpreadsheet
Case files
- CVE-2026-45034: PhpSpreadsheet Used The PHP URL Parser To Decide What The PHP phar Wrapper Would Open
CVE-2026-45034: PhpSpreadsheet Used The PHP URL Parser To Decide What The PHP phar Wrapper Would Open
PhpSpreadsheet's src/PhpSpreadsheet/Shared/File.php defines a function called prohibitWrappers. The function runs parseurl($filename, PHPURLSCHEME) on its argument and rejects the call when the returned scheme is a string longer than one character.