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

Published Nov 13, 2026
·
Updated

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.

Affected Software

1 affected component
Dromara free-fs>=2.0.1<=2.3.1

Event History

Nov 13, 2026
CVE Published
via MITRE·05:21 PM
Data Sourced
via MITRE·05:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

free-fs versions 2.0.1 through 2.3.1 are affected. The vulnerable code is associated with the /apis/share/pages endpoint.

2

Does an attacker need an account?

Yes. Exploitation requires an authenticated user with access to send requests to the affected endpoint; no user interaction is required.

3

What access can exploitation provide?

An attacker can inject CASE WHEN subquery expressions through the orderBy parameter and use share ordering as a boolean oracle. This can expose arbitrary database contents, including share codes.

4

How can I assess whether my instance is exposed?

Check whether the deployment runs a version from 2.0.1 through 2.3.1 and exposes /apis/share/pages to authenticated users. Requests that allow unvalidated orderBy values to reach the ORDER BY clause indicate exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203