Directory Traversal in UniSharp Laravel Filemanager
CVE-2022-40734 is a directory traversal vulnerability in UniSharp laravel-filemanager, also known as Laravel Filemanager, before version 2.6.4. A crafted working_dir parameter supplied to the download endpoint permits traversal outside the intended directory and arbitrary file reads. The vulnerability is related to league/flysystem versions before 2.0.0 and was exploited in the wild in June 2022.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary file reads outside the intended file-management directory, potentially disclosing sensitive application or system data.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the vulnerable endpoint, implement web application firewall (WAF) rules to block directory traversal patterns, and monitor logs for suspicious download requests containing traversal sequences.
Patch, then assume compromise.
Upgrade UniSharp laravel-filemanager to version 2.6.4 or later.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.