PT-2026-84522 · Maatwebsite · Laravel-Excel
CVE-2026-84374
·
Published
2026-09-01
·
Updated
2026-09-09
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Laravel Excel versions 3.1.8 through 3.1.69
Description
The
MaatwebsiteExcelFilesDisk::copy() function in src/Files/Disk.php resolves the $destination variable, provided via Excel::store(), $export->store(), or storeExcel(), against the process working directory using realpath() instead of the configured filesystem disk. This allows an attacker who controls the export path to bypass Flysystem path confinement and overwrite arbitrary writable files with export content. Because the file is opened in rb+ mode, the overwrite is non-truncating, which may leave trailing bytes if the new content is shorter. Overwriting an executable PHP file can lead to remote code execution.Recommendations
Update to version 3.1.70.
Exploit
Fix
RCE
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Laravel-Excel