Live threats

All CVEs / SpartnerNL

CVE-2026-84374SpartnerNL Laravel-Excel

High 7.5

Priority
45
CVSS 3.1
7.5
EPSS
—
Auth required
Yes
Published
Sep 1, 2026
Updated
Sep 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-73
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Laravel Excel provides supercharged Excel exports and imports in Laravel. From 3.1.8 until 3.1.70, in src/Files/Disk.php the Maatwebsite\Excel\Files\Disk::copy() method resolves the caller-controlled $destination supplied through Excel::store(), $export->store(), or storeExcel() against the process working directory with realpath() instead of the configured filesystem disk. If the path names an existing writable file, Disk::copy() opens it with fopen() in rb+ mode and uses stream_copy_to_stream(), bypassing Flysystem path confinement and allowing an attacker whose application input controls the export path to overwrite arbitrary existing files with export content. The rb+ behavior creates a non-truncating overwrite and trailing bytes when the new export is shorter, and overwriting an executable PHP file can lead to remote code execution. This issue is fixed in version 3.1.70.

Original NVD text.

What to do

  1. Apply the vendor's security update for Laravel-Excel.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist maatwebsite/excel ≥ 3.1.8 < 3.1.70 3.1.70 composer require "maatwebsite/excel:^3.1.70"

Per OSV / GitHub Advisories (GHSA-c7r6-vx3h-w5g2). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.