CVE-2026-57821
Apache Fineract: Office list: SQL Injection via Subquery in orderBy
Description
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.
INFO
Published Date :
July 15, 2026, 10:16 a.m.
Last Modified :
July 15, 2026, 10:16 a.m.
Remotely Exploit :
No
Source :
[email protected]
Solution
- Upgrade Apache Fineract to a patched version.
- Validate all user inputs for SQL injection.
- Implement strict parameter validation for orderBy.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-57821.
| URL | Resource |
|---|---|
| https://github.com/apache/fineract/pull/6048 | |
| https://lists.apache.org/thread/lb7zwdv7qntzy6z05gzf7m8mxw9cbgsj | |
| https://lists.apache.org/thread/rj5vwh3z2xcvsf0rqwj8kokpbrxkhq4n |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-57821 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-57821
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-57821 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-57821 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Jul. 15, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Apache Software Foundation', 'product': 'Apache Fineract', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '1.14.0'}, {'status': 'unaffected', 'version': '1.15.0', 'versionType': 'semver'}], 'defaultStatus': 'unaffected'}] Added Description 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. Added CWE CWE-89 Added Reference https://github.com/apache/fineract/pull/6048 Added Reference https://lists.apache.org/thread/lb7zwdv7qntzy6z05gzf7m8mxw9cbgsj Added Reference https://lists.apache.org/thread/rj5vwh3z2xcvsf0rqwj8kokpbrxkhq4n