CVE-2024-52306: Backpack FileManager Remote Code Execution Vulnerability

backpack/filemanager Updated 02 Oct 2025

Summary

13/11/2024
Yes i
High
7.6

CVE-2024-52306: FileManager Deserialization of Untrusted Data vulnerability. Affects backpack/filemanager across 2 version ranges.

< 2.0.2 >= 3.0.0, < 3.0.9

Fixed in 2.0.2 or 3.0.9, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Backpack FileManager is a popular package used in PHP applications for managing files and directories. It provides a user-friendly interface for file uploads, downloads, and management tasks. However, due to its reliance on user input for file handling, it is susceptible to security vulnerabilities, particularly those involving deserialization of untrusted data.

Vulnerability Detail

The vulnerability arises from the deserialization of untrusted data from the 'mimes' parameter in Backpack FileManager. This flaw can lead to remote code execution, allowing an attacker to execute arbitrary code on the server. The issue is classified under CWE-502, which pertains to deserialization of untrusted data. If exploited, this vulnerability could compromise the integrity and confidentiality of the application, potentially leading to unauthorized access and data breaches.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.0.2 2.0.2
    composer require backpack/filemanager:2.0.2
  • >= 3.0.0, < 3.0.9 3.0.9
    composer require backpack/filemanager:3.0.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

No specific workarounds are needed as the recommended solution is to perform a composer update to the patched version.

Conclusion

In summary, the Backpack FileManager package has a critical vulnerability that allows for remote code execution due to the deserialization of untrusted data. It is essential to update to version 3.0.9 or later to mitigate this risk. Regular monitoring with tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for backpack/filemanager →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 7.6, indicating a high severity level.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Exploitation of this vulnerability can lead to remote code execution, allowing attackers to gain unauthorized access to the server and potentially compromise sensitive data.

Yes, failing to update the package leaves your application vulnerable to attacks that could exploit this deserialization flaw.

The vulnerability was reported responsibly by Vladislav Gladkiy at Positive Technologies.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.0.2 2.0.2
    composer require backpack/filemanager:2.0.2
  • >= 3.0.0, < 3.0.9 3.0.9
    composer require backpack/filemanager:3.0.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback