CVE-2022-40734: Directory Traversal in UniSharp Laravel Filemanager
- Vendor
- Unisharp
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
Patch, then assume compromise.
Upgrade UniSharp laravel-filemanager to version 2.6.4 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-40734 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-40734?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2022-40734.
- Is there a patch for CVE-2022-40734?
- Upgrade UniSharp laravel-filemanager to version 2.6.4 or later.
- What products are affected by CVE-2022-40734?
- Unisharp Laravel Filemanager.
- How severe is CVE-2022-40734?
- CVE-2022-40734 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 5.5% (93rd percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.