SQL Injection Vulnerability in Dromara Free-FS by Dromara
CVE-2026-129160
7.1HIGH
What is CVE-2026-129160?
Dromara Free-FS versions 2.0.1 through 2.3.1 are vulnerable to SQL injection through the orderBy parameter in the FileShareServiceImpl.getPages method. This vulnerability allows authenticated users to manipulate the ORDER BY clause via MyBatis-Flex without proper column whitelisting, potentially enabling them to execute arbitrary SQL queries. As a result, attackers can exploit this flaw to access sensitive data or share codes from the database by crafting malicious CASE WHEN subquery expressions.
Affected Version(s)
free-fs 2.0.1 <= 2.3.1
