ZeroHour

CVE-2026-73698

large

SQL Injection in FileRun Enables Admin-to-Superuser Escalation and Possible RCE

CVSS 4.0
8.6 high
EPSS
Published
()
Modified
AI analysis

FileRun before 2026.3.0 contains a SQL injection flaw (CWE-89) in its database helper code: when the description parameter is submitted as an array, the getValuesString() method in DB/DP.php interpolates the raw array values directly into an INSERT statement without parameterization. Delegated or simple administrators can trigger it by submitting a crafted array-typed description value, and because the underlying PDO connection uses emulated prepared statements, stacked queries are possible. An attacker gains arbitrary SQL execution, which can be used to modify the df_users_permissions table and escalate a delegated administrator account to superuser privileges, and may additionally achieve code execution through unsanitized path values passed to require_once in the logs listing component. Any self-hosted FileRun deployment running a version earlier than 2026.3.0 is affected, with the highest risk where administrative rights are delegated to less-trusted accounts. The flaw is rated 8.6 (High) under CVSS 4.0, is not in CISA's Known Exploited Vulnerabilities catalog, and no public proof-of-concept or confirmed in-the-wild exploitation is known.

What to do: Upgrade FileRun to version 2026.3.0 or later. As an interim measure, restrict delegated and simple administrator accounts to trusted operators and consider WAF rules that reject array-valued description parameters or stacked-query syntax (e.g., semicolons) on administrative endpoints. Audit the df_users_permissions table for unexpected superuser grants and review administrator activity around the logs listing component for signs of tampering.

Affected
FileRun (self-hosted PHP file manager)all versions before 2026.3.0 (< 2026.3.0)
Estimated exposure
large≈10,000–50,000 internet-exposed FileRun installations (order of magnitude: low tens of thousands at most) — Estimated from FileRun's footprint as a niche self-hosted PHP file manager (far smaller than Nextcloud), where public internet-scan services show exposed instances numbering in the low tens of thousands at most, and exploitation…

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 a SQL injection vulnerability that allows delegated or simple administrators to execute arbitrary SQL by submitting the description parameter as an array, causing the getValuesString() method in DB/DP.php to interpolate raw array values directly into an INSERT statement without parameterization. Because the underlying PDO connection uses emulated prepared statements enabling stacked queries, attackers can manipulate the df_users_permissions table to escalate a delegated administrator account to superuser privileges, and may additionally achieve code execution via unsanitized path values passed to require_once in the logs listing component.

Weakness
CWE-89
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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.