CVE-2025-65346 alexusmai laravel-file-manager is vulnerable to Directory Traversal via the unzip/extraction functionality

Critical 9.1 Published Updated

An attacker can write files to arbitrary locations on the server via the unzip functionality in the Laravel file manager library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-65346?

CVE-2025-65346 is a critical path traversal vulnerability in n/a, published on 4 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

alexusmai laravel-file-manager 3.3.1 and below is vulnerable to Directory Traversal. The unzip/extraction functionality improperly allows archive contents to be written to arbitrary locations on the filesystem due to insufficient validation of extraction paths.

Weakness: CWE-22

Which versions are affected by CVE-2025-65346?

2 open source packages ship an affected version, including alexusmai/laravel-file-manager. It affects 1 product.

PackageAffectedFixed in
alexusmai/laravel-file-manager PackagistAll versions to 3.3.1None
alexusmai/laravel-file-manager PackagistAll versions to 3.3.1None

Products include Alexusmai Laravel File Manager.

How do I fix CVE-2025-65346?

No fix has been published for CVE-2025-65346 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-65346 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65346 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-q5hg-wppq-r2cc.

Is CVE-2025-65346 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free