CVE-2026-129160: free-fs SQL Injection
Published 2026-11-13 · Updated 2026-11-16 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 2.3.1 as affected and does not name a fixed release. Check the references below for a newer version of free-fs or a vendor mitigation.
- Until it is patched, restrict network access to free-fs and review which accounts can log in to it.
- Put WAF rules in front of the affected parameters, and make sure the application's database account holds only the privileges it needs.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| free-fs | ≤ 2.3.1 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness: SQL Injection
Attacker-controlled input changes the structure of a database query, which can expose, modify or delete data and sometimes leads to code execution on the database host.
Classified as CWE-89.
Description
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.vulncheck.com/advisories/dromara-free-fs-2.0.1-through-2.3.1-sql-injection-via-orderby-parameter
- Referencehttps://github.com/dromara/free-fs/blob/f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020/fs-modules/fs-file/src/main/java/com/xddcodec/fs/file/service/impl/FileShareServiceImpl.java#L93-L99
- Referencehttps://github.com/dromara/free-fs/issues/28
- Referencehttps://vul.yulun.ac.cn/20261024/free-fs/