SQL Injection in Dromara Free-Fs
CVE-2026-129160
free-fs 2.0.1 through 2.3.1 contains an SQL injection vulnerability in FileShareServiceImpl.getPages, which passes the orderBy parameter of the /apis/share/pages endpoint verbatim into the ORDER BY clause via MyBatis-Flex without a column whitelist. Authenticated users can supply CASE WHEN subquery expressions that use share ordering as a boolean oracle to read arbitrary database contents, such as share codes.
Vulnerability class: SQL Injection
Published .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 23.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- vul.yulun.ac.cn/20261024/free-fs/ (third-party-advisory)
- github.com/dromara/free-fs/issues/28 (issue-tracking)
- github.com/dromara/free-fs/blob/f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020/fs-mod… (technical-description)
- www.vulncheck.com/advisories/dromara-free-fs-2.0.1-through-2.3.1-sql-injection-… (third-party-advisory)