# CVE-2022-40734: UniSharp Laravel Filemanager directory traversal vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.63%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-14T00:00:00.000Z
- Modified: 2026-06-17T05:01:56.857Z
- Also known as: GHSA-5m2h-7rf2-rpx6
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

UniSharp laravel-filemanager (aka Laravel Filemanager) before 2.6.4 allows download?working_dir=%2F.. directory traversal to read arbitrary files, as exploited in the wild in June 2022. This is related to league/flysystem before 2.0.0.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- unisharp/laravel-filemanager (Packagist): before 2.6.4
- unisharp laravel_filemanager: up to 2.5.1

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/UniSharp/laravel-filemanager/issues/1150> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1320186966> (web)
- <https://github.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1825310417> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40734> (advisory)
- <https://github.com/UniSharp/laravel-filemanager/commit/8a357d02e8f54ddf130961c64ff2cfc1882bbfcf> (web)
- <https://github.com/UniSharp/laravel-filemanager> (package)

## Sources

- CVE List: [CVE-2022-40734](https://www.cve.org/CVERecord?id=CVE-2022-40734), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-5m2h-7rf2-rpx6](https://github.com/advisories/GHSA-5m2h-7rf2-rpx6), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-40734](https://nvd.nist.gov/vuln/detail/CVE-2022-40734), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40734 · Whole record: https://cve.day/CVE-2022-40734.json · Rebuilt by cve.day 2026-11-25T22:58:14.940Z
