Apache Software Foundation Apache Fineract
Apache Fineract: Office list: SQL Injection via Subquery in orderBy
A SQL Injection vulnerability exists in Apache Fineract's Office Search API (GET /api/v1/offices) in versions up to and including 1.14.0. The orderBy request parameter is concatenated into a SQL query without sufficient validation, allowing an authenticated user with permission to view offices to inject arbitrary SQL via a crafted orderBy value. This is a bypass of the ColumnValidator fix introduced for CVE-2024-32838, which does not detect bare subqueries in the ORDER BY position. This can be leveraged to perform time-based blind SQL injection for data exfiltration. Because the injected query blocks the database connection for its full duration, concurrent exploitation can exhaust the application's database connection pool, resulting in denial of service for other users. Users are recommended to upgrade to a version containing the fix.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.14.0
Fixed in 1.15.0
Mitigation
Upgrade Apache Fineract to 1.15.0 or later.
References
- Patch github.com/apache/fineract/pull/6048
- Vendor advisory lists.apache.org/thread/lb7zwdv7qntzy6z05gzf7m8mxw9c…
- Vendor advisory lists.apache.org/thread/rj5vwh3z2xcvsf0rqwj8kokpbrxk…
Timeline
Days relative to CVE publicationFirst public PoC 1.1 days after publication; not in CISA KEV. First PoC: tc4dy/CVE-2026-57821-PoC-Exploit (created 16 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 not a PoC
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| tc4dy/CVE-2026-57821-PoC-Exploit | 16 Jul 2026 +1.1 d | 3 | PoC |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| tc4dy/CVE-2026-6875-PoC-Exploit | 21 Jul 2026 +6.4 d | 5 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.