Advisory record · GHSA-f8x6-m9f5-ffp8

Unrestricted Upload of File with Dangerous Type in unisharp/laravel-filemanager

CVSS 6.7 MediumEPSS 0.018 · 79th percentile

Published by the GitHub Advisory Database at 6 Jan 2022, 21:08 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
unisharp/laravel-filemanagerPackagist<2.6.22.6.2
Identifiers
GHSA-f8x6-m9f5-ffp8 · CVE-2021-23814 · PKSA-m1ns-x448-8pmp · SNYK-PHP-UNISHARPLARAVELFILEMANAGER-1567199
Weakness (CWE)
CWE-94 · CWE-434
Published
6 Jan 2022
Updated
18 Jun 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of unisharp/laravel-filemanager before 2.6.2 do not sufficiently validate file types on upload through the upload() function. An attacker who can reach the upload window of a Laravel application using this package can upload a malicious script in place of an image and then request it by path, which may allow remote code execution. Upgrade to 2.6.2 or later. As a workaround, restrict permitted file extensions with a whitelist in the package's lfm.php config file.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.7 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L/E:P CNA (snyk)
  • CISA KEV Not listed.
  • EPSS 0.018, the 79th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:27 UTC First seen by agentprime
  2. 31 Oct 2026, 14:27 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.