Read the docs
TI-2021-06195 Aliases CVE-2021-23814GHSA-f8x6-m9f5-ffp8

Code injection in unisharp/laravel-filemanager

Priority MEDIUM 42CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

This affects versions of the package unisharp/laravel-filemanager before 2.6.2. The upload() function does not sufficiently validate the file type when uploading. An attacker may be able to reproduce the following steps: 1. Install a package with a web Laravel application. 2. Navigate to the Upload window 3. Upload an image file, then capture the request 4. Edit the request contents with a malicious file (webshell) 5. Enter the path of file uploaded on URL - Remote Code Execution **Note:** Prevention for bad extensions can be done by using a whitelist in the config file(lfm.php). Corresponding document can be found in [here](https://unisharp.github.io/laravel-filemanager/configfolder-categories).

Why it matters now

EPSS 0.0183 78th percentileScored 2026-11-07
Fix Fixed unisharp/laravel-filemanager: 2.6.2unisharp/laravel-filemanager (Packagist): 2.6.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—unisharp/laravel-filemanagerbefore 2.6.22.6.2Patch availableCNA
—unisharp/laravel-filemanager (Packagist)before 2.6.22.6.2Patch availableGHSA-f8x6-m9f5-ffp8
  • unisharp/laravel-filemanager Vendor— Affected before 2.6.2 Fixed in 2.6.2 Patch available CNA
  • unisharp/laravel-filemanager (Packagist) Vendor— Affected before 2.6.2 Fixed in 2.6.2 Patch available GHSA-f8x6-m9f5-ffp8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:unisharp:laravel-filemanager:*:*:*:*:*:*:*:*0.0.0VulnerableUniSharp
  • cpe:2.3:a:unisharp:laravel-filemanager:*:*:*:*:*:*:*:* Versions 0.0.0 Vulnerable ·UniSharp

Remediation

  • Fix · CNA unisharp/laravel-filemanager Fixed in 2.6.2
  • Fix · GHSA-f8x6-m9f5-ffp8 unisharp/laravel-filemanager (Packagist) Fixed in 2.6.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23814
  2. 2026-10-03 Alias added: GHSA-f8x6-m9f5-ffp8

References

Sources