CVE-2026-57821 PUBLISHED

Apache Fineract: Office list: SQL Injection via Subquery in orderBy

Assigner: apache
Reserved: 25.06.2026 Published: 15.07.2026 Updated: 15.07.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache Fineract
Versions Default: unaffected
  • affected from 0 to 1.14.0 (incl.)
  • Version 1.15.0 is unaffected

Credits

  • Venkatraman Kumar (@r3dw0lfsec) at Securin finder
  • Terence Monteiro (@terencemo) remediation developer
  • Ádám Sághy (@adamsaghy) remediation reviewer

References

Problem Types

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE