Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with upload-capable FileRun account
-
DeliveryUpload file with shell metacharacters in filename
-
ExploitRequest PhotoProofSheet endpoint for uploaded file
-
ExecutionUnsanitized filename interpolated into ImageMagick montage shell command
-
ImpactArbitrary OS commands execute as web-server user
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 a valid FileRun user account with upload permission - unauthenticated access is insufficient. The attacker must be able to (1) upload a file with shell metacharacters in its name and (2) trigger the PhotoProofSheet endpoint for that file. ImageMagick (specifically the montage binary) must be installed and accessible by the web-server process, which is standard in typical FileRun deployments as ImageMagick is a core dependency. Execution occurs as the web-server OS user (e.g., www-data), so privilege escalation to root requires a secondary step unless the server is misconfigured. No non-default application configuration is required - any multi-user FileRun instance where upload access is granted to non-admin users is exploitable. |
| 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, score 8.7) accurately reflects network-accessible exploitation with low complexity requiring a low-privilege account (upload permission). The authentication requirement - a valid FileRun account with upload rights - is a genuine limiting factor compared to a fully unauthenticated vulnerability. However, in shared or multi-user FileRun deployments where upload access is broadly granted, this distinction collapses rapidly. A public proof-of-concept is confirmed by VulnCheck, substantially lowering attacker skill requirements and accelerating exploitation timelines. This is not listed in CISA KEV at the time of analysis, and EPSS data is not provided. The combination of a public exploit and low-privilege access requirement makes this a high-priority patch for any internet-facing FileRun instance with multiple users. |
| Exploit ScenarioDerived | An attacker with a low-privilege FileRun account uploads a file named something like shell$(id>/tmp/pwned).jpg, embedding a command substitution sequence in the filename. When the attacker subsequently requests the PhotoProofSheet endpoint for that file, the server passes the unsanitized filename to ImageMagick montage via a shell call, causing the injected command to execute as the web-server user. A public proof-of-concept from VulnCheck is available, making this attack reproducible with minimal skill. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
OS command injection in FileRun's PhotoProofSheet handler allows any authenticated user with upload permission to execute arbitrary commands as the web-server user by uploading files with shell metacharacters in their names. The root cause is a missing escapeshellarg() call when constructing the ImageMagick montage shell command, meaning backticks, semicolons, or $() sequences in filenames are evaluated by the shell. A public proof-of-concept has been released by VulnCheck; vendor-released patch is available in version 2026.3.0.
RemediationAI
Upgrade to FileRun 2026.3.0 or later, which resolves the missing escapeshellarg() sanitization in the PhotoProofSheet handler per the vendor changelog at https://filerun.com/index.php/changelog?v=2026.3.0. If immediate patching is not feasible, restrict or disable access to the PhotoProofSheet endpoint at the web-server layer (e.g., deny requests to the relevant handler path via nginx or Apache configuration), accepting loss of the photo proof sheet feature for all users. As an additional compensating control, limit upload permissions to only trusted accounts; note this reduces usability in shared-access deployments. Running the web server under a minimally privileged OS user (e.g., a dedicated www-data account with no shell and no write access outside the web root) limits the blast radius of successful exploitation but does not prevent command execution.
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 file management and sharing web application. The vulnerable component is the PhotoProofSheet feature, which invokes ImageMagick's montage utility via a shell command to generate composite image sheets. The application constructs this shell command by directly interpolating uploaded filenames without applying PHP's escapeshellarg() (or equivalent) sanitization, a textbook instance of CWE-78 (Improper Neutralization of Special Elements used in an OS Command). Because the shell interprets the metacharacters embedded in filenames, an attacker-controlled filename becomes executable code. All FileRun versions prior to 2026.3.0 are affected per CPE cpe:2.3:a:filerun:filerun:*:*:*:*:*:*:*:*, with no stated minimum version boundary.
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
Network-accessible web app; low-privilege upload account required; no user interaction after upload; full RCE on vulnerable system, no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FileRun before 2026.3.0 contains an OS command injection vulnerability in the PhotoProofSheet handler that allows authenticated users with upload permission to execute arbitrary commands by uploading files with shell metacharacters in their names. Attackers can upload a file containing command substitution syntax such as backticks, semicolons, or $() sequences in the filename, then trigger the PhotoProofSheet endpoint to execute arbitrary commands as the web-server user due to missing escapeshellarg() sanitization in the ImageMagick montage command construction.
Technical POC Analysis
CWE-78 (OS command injection) in FileRun's photo proof sheet ("contact sheet") handler, a component of the PhotoProofSheet plugin under apps/Drive.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
FileRun's PhotoProofsheet handler contains an OS command injection vulnerability allowing any authenticated user with file upload permissions to execute arbitrary commands on the web server. This exposes organizations to insider threats and unauthorized code execution from users such as photographers, clients, or content managers who have legitimate upload access. The vendor-released patch (version 2026.3.0) should be prioritized to eliminate command execution risks on FileRun infrastructure.
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.
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
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
FileRun 2019.05.21 allows XSS via the filename to the ?module=fileman§ion=do&page=up URI. Rated medium severity (CVS
EUVD-2026-75598
GHSA-63rx-6h5r-6rfp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB