ZeroHour

CVE-2026-73693

niche

OS Command Injection in FileRun PhotoProofSheet Handler

CVSS 4.0
8.7 high
EPSS
Published
()
Modified
AI analysis

FileRun before 2026.3.0 is vulnerable to OS command injection (CWE-78) in the PhotoProofSheet handler, caused by missing escapeshellarg() sanitization when filenames are inserted into the ImageMagick montage command line. An authenticated user with upload permission triggers the flaw by uploading a file whose name contains shell metacharacters such as backticks, semicolons, or $() command-substitution sequences, and then invoking the PhotoProofSheet endpoint, which executes the injected commands. Successful exploitation yields arbitrary command execution as the web-server user, giving the attacker control over the web application's process context, files, and any credentials or data accessible to that user. All FileRun deployments running a version prior to 2026.3.0 are affected, with practical exposure limited to instances where outside users hold upload-capable accounts. No public proof-of-concept, entry in CISA's KEV catalog, or reports of in-the-wild exploitation are known at this time.

What to do: Upgrade FileRun to version 2026.3.0 or later, which adds proper shell escaping in the PhotoProofSheet/ImageMagick command construction. Until patched, restrict upload permission to trusted accounts, consider blocking shell metacharacters in filenames at a reverse proxy or WAF, and review logs for unexpected commands run by the web-server user (e.g., unexpected ImageMagick/montage child processes).

Affected
FileRunall versions before 2026.3.0
Estimated exposure
nichelikely low thousands of internet-exposed FileRun instances (estimate; no authoritative install telemetry) — FileRun is a niche self-hosted PHP file-management alternative to Nextcloud/ownCloud with no public install counters, and public internet scans generally show only on the order of a few thousand exposed instances; exploitation additionally…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Weakness
CWE-78
Vector
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

In the news

No ingested article mentions this CVE yet.