Skip to main content

Dromara free-fs CVE-2026-129160

| EUVDEUVD-2026-125607 HIGH
SQL Injection (CWE-89)
2026-11-13 VulnCheck GHSA-g8hr-rr8x-cm5q
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to free-fs
  2. Delivery
    Send crafted orderBy to /apis/share/pages
  3. Exploit
    Inject CASE WHEN into ORDER BY clause
  4. Execution
    Infer booleans from share ordering
  5. Impact
    Extract share codes from database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated free-fs account (CVSS PR:L) on an instance running versions 2.0.1 through 2.3.1 and the ability to reach the /apis/share/pages endpoint; the attacker supplies a malicious orderBy parameter containing CASE WHEN subquery expressions that MyBatis-Flex concatenates verbatim into the ORDER BY clause, with no column whitelist to block it. What limits exploitation: valid credentials are mandatory, the technique is a blind boolean oracle (share-ordering inference) that leaks data slowly one bit per request rather than dumping tables directly, and impact is confined to reading database contents such as share codes - no write or denial-of-service effect.

Impact

Signals are moderate and internally consistent rather than alarming. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) correctly captures a network-reachable, low-complexity SQL injection that requires an authenticated account (PR:L) and yields confidentiality impact only - no integrity or availability effect, matching the description's read-only boolean-oracle exfiltration. There is no KEV listing and no EPSS score supplied, so there is no evidence of active or probable exploitation; the VulnCheck advisory and a third-party write-up describe the technique but the input does not mark a working PoC as confirmed. The vuln.today priority is 'this_week', which aligns with a genuine but non-emergency CWE-89 flaw: real and worth prioritizing because authentication in a file-sharing app is typically low-barrier and the oracle leaks sensitive share codes, yet mitigated by the authentication requirement and the slow, inference-based nature of blind extraction. This is a legitimate priority for affected deployments but not a drop-everything emergency; the main missing signals are EPSS, a confirmed fixed version, and verified exploit-code status.

Exploit ScenarioDerived

An authenticated free-fs user sends a request to /apis/share/pages with a crafted orderBy value containing a CASE WHEN subquery; because the parameter is concatenated into the ORDER BY clause via MyBatis-Flex with no column whitelist, the row ordering of returned shares changes based on the truth of the injected condition. By repeatedly toggling conditions and observing the ordering, the attacker reconstructs arbitrary database contents such as other users' share codes one boolean at a time. A public advisory and write-up describe this oracle technique, though no verified working exploit code is confirmed in the input.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

SQL injection in Dromara free-fs 2.0.1 through 2.3.1 allows an authenticated user to read arbitrary database contents through the /apis/share/pages endpoint, where the orderBy request parameter is concatenated verbatim into the ORDER BY clause by MyBatis-Flex without a column whitelist. An attacker crafts CASE WHEN subquery expressions so that the ordering of returned share records becomes a boolean oracle, leaking values such as share codes incrementally, one inference per request. Valid credentials and network reachability of the endpoint are prerequisites, impact is confidentiality-only with no write or denial-of-service effect, and no public exploit identified at time of analysis; the CVSS 4.0 score of 7.1 and our independent CVSS 3.1 assessment agree on network vector, low privileges, no user interaction and high confidentiality impact only.

RemediationAI

No vendor-released patch version is identified in the available data; the references point to the vulnerable source at commit f8f4ff2a0b0af8fcd5cbecbf99a4afb7d0b7c020 and to the vendor issue tracker (https://github.com/dromara/free-fs/issues/28), so the fix status should be verified there and in the VulnCheck advisory before upgrading to any release published after 2.3.1. The definitive code fix is to stop interpolating orderBy into the ORDER BY clause and instead map the client value against a strict server-side whitelist of permitted column and direction values (an enum or map of known sortable fields) in FileShareServiceImpl.getPages, rejecting anything that is not an exact match. Until such a build is deployed, restrict the /apis/share/pages endpoint to trusted authenticated accounts and, where a WAF or reverse proxy is available, reject orderBy values containing parentheses, CASE, WHEN, SELECT or subquery syntax; the trade-off is that such filtering may break legitimate sort requests if clients send expressions rather than plain column names, so it must be validated against the UI's actual sort parameters. Because the technique is a slow blind boolean oracle rather than a bulk dump, rate-limiting or throttling requests to the share paging endpoint measurably reduces exfiltration bandwidth, at the cost of slowing legitimate heavy users, and audit logging of orderBy values on that endpoint gives detection coverage for attempted inference. Prioritisation guidance places this in the current week's remediation window rather than an emergency patch cycle.

Affected VersionsENISA

free-fs 2.0.1 ≤2.3.1

Affected Packages

euvd free_fs no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

free-fs is a Java/Spring file-sharing application that uses MyBatis-Flex as its persistence layer; FileShareServiceImpl.getPages (lines 93-99 of the referenced source file) builds the paging query for the share listing and passes the client-supplied orderBy parameter straight into the ORDER BY clause, which places the flaw squarely in CWE-89 (SQL injection). Because sort expressions cannot be expressed as bind parameters, the value is interpolated rather than prepared, and the absence of a column whitelist means any SQL expression survives into the statement. The practical exploitation primitive is blind boolean-based inference: ORDER BY accepts arbitrary expressions, so a CASE WHEN (subquery) construct can reorder the result set conditionally, letting an authenticated user ask yes/no questions about database contents (for example, characters of share codes) without ever seeing query output directly. The CPE entry cpe:2.3:a:dromara:free-fs:*:*:*:*:*:*:*:* is a wildcard, so version scoping comes from the advisory text (2.0.1 through 2.3.1) rather than the CPE. The trigger mechanism beyond the tainted orderBy parameter is not described in the available sources, and no timing- or error-based behaviour is asserted.

Know when Free Fs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 6.5 MEDIUM

Network endpoint with low complexity but a mandatory authenticated account gives AV:N/AC:L/PR:L/UI:N; blind read of arbitrary DB contents yields C:H with no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-129160 is a high-severity SQL injection vulnerability in Dromara free-fs (versions 2.0.1 through 2.3.1) that allows an authenticated user to read arbitrary database contents, including sensitive share codes, through a public-facing endpoint. Since no patch is available, any organization using this software is exposed to potential data breaches by malicious insiders or attackers who have obtained low-privilege credentials. Leadership should prioritize immediate mitigation because the vulnerability affects confidentiality of data and could lead to unauthorized access to shared files and information.

Business Impact: High
Compensating Controls

Restrict network access to the vulnerable endpoint, deploy WAF rules to detect and block SQL injection patterns, enforce least privilege for authenticated users, and monitor database queries for unusual activity.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche dromara open-source file-sharing project, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy