Skip to content
Laskyr

PHP package security

Is maatwebsite/excel vulnerable?

1 known security advisory for maatwebsite/excel. The latest was reported on 2026-09-08 and is fixed in 3.1.70. The newest release, 4.0.6, is not affected by any of them.

1 high

Known advisories
1
Newest release
4.0.6
Released
2026-10-23
Affecting newest release
0
Last synced
2026-11-03

Supercharged Excel exports and imports in Laravel · packagist.org/packages/maatwebsite/excel

Check your version

Run composer show maatwebsite/excel in your project to see the installed version, then enter it here.

Security advisories for maatwebsite/excel

Newest first. “Affected” is the Composer version constraint from the advisory; “fixed in” is each version the advisory names as the first safe one on its release line.

ReportedAdvisorySeverityAffectedFixed in
2026-09-08 Laravel Excel writes exports outside the configured filesystem disk when given a caller-controlled path GHSA-c7r6-vx3h-w5g2 · CVE-2026-84374 · GitHub high >=3.1.8,<3.1.70 3.1.70

Need help patching or upgrading? Laskyr does PHP and Laravel security fixes and upgrades. Tell us what you run and we reply with a plan and a price.

Ask about a fix

Check your whole project. Paste your composer.lock and see every installed package with a known advisory. Nothing is stored.

Check composer.lock

Questions about maatwebsite/excel

Does maatwebsite/excel have known vulnerabilities?

Yes. Packagist lists 1 security advisory for maatwebsite/excel (1 high severity). The most recent, reported 2026-09-08, is "Laravel Excel writes exports outside the configured filesystem disk when given a caller-controlled path". The newest release, 4.0.6, is outside every affected range.

Which version of maatwebsite/excel should I run?

The newest stable release is 4.0.6 (published 2026-10-23). The most recent advisory is fixed in 3.1.70, so stay on or above the fixed version for your major version. Run composer update maatwebsite/excel, then composer audit to confirm nothing else is flagged.

How do I check if my maatwebsite/excel version is affected?

Run composer show maatwebsite/excel in your project to see the installed version, then enter it in the version check on this page. You can also run composer audit, which reads the same Packagist advisory data for every package in your composer.lock.

Where this data comes from

Advisories come from the Packagist security advisories API, which collects the GitHub Advisory Database and the FriendsOfPHP security advisories. composer audit reads the same data. Releases come from packagist.org. Last synced 2026-11-03; we re-check daily. Each advisory links to its source. Spot an error? Tell us.

← All PHP packages

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit