# CVE-2026-129160: Dromara free-fs 2.0.1 through 2.3.1 SQL Injection via orderBy Parameter

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-13T17:21:58.167Z
- Modified: 2026-11-16T19:17:39.347Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- dromara free-fs: from 2.0.1 up to 2.3.1

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://vul.yulun.ac.cn/20261024/free-fs/> (third-party-advisory)
- <https://github.com/dromara/free-fs/issues/28> (issue-tracking)
- <https://github.com/dromara/free-fs/blob/f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020/fs-modules/fs-file/src/main/java/com/xddcodec/fs/file/service/impl/FileShareServiceImpl.java#L93-L99> (technical-description)
- <https://www.vulncheck.com/advisories/dromara-free-fs-2.0.1-through-2.3.1-sql-injection-via-orderby-parameter> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-129160](https://www.cve.org/CVERecord?id=CVE-2026-129160), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-129160](https://nvd.nist.gov/vuln/detail/CVE-2026-129160), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-129160 · Whole record: https://cve.day/CVE-2026-129160.json · Rebuilt by cve.day 2026-11-25T22:59:50.765Z
