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, 8:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Upgrade Apache Fineract to a patched version.
- Validate all user inputs for SQL injection.
- Implement strict parameter validation for orderBy.
Public PoC/Exploit Available at Github
CVE-2026-57821 has a 3 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
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 | Patch |
| https://lists.apache.org/thread/lb7zwdv7qntzy6z05gzf7m8mxw9cbgsj | Mailing List Vendor Advisory |
| https://lists.apache.org/thread/rj5vwh3z2xcvsf0rqwj8kokpbrxkhq4n | Mailing List Vendor Advisory |
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).
CVE-2026-6875 ServiceNow Pre-Auth RCE Framework 🔥 JS Injection → Sandbox Escape → RCE → Root. Features: --detect, --exec, reverse/interactive shell, batch threading, WAF bypass, persistence, lateral movement, credential dump, fileless exec, clean tracks. 🛡️ CVSS 9.5 actively exploited. Authorized & Legal use only. Stay Legal. 🔒
Python
🔐 CVE-2026-57821 - Apache Fineract SQL Injection Toolkit (Educational) 📚 Two Python scripts for authorized security testing: verifier.py (safe detection, no extraction) and exploit.py (deep analysis). Supports 11 DB types. Perfect for understanding SQL injection vulnerabilities. ⚠️ for educational & research purposes only.
Python
CVE POC repo 자동 수집기
Python
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.
-
Initial Analysis by [email protected]
Jul. 15, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:fineract:*:*:*:*:*:*:*:* versions up to (excluding) 1.15.0 Added Reference Type Apache Software Foundation: https://github.com/apache/fineract/pull/6048 Types: Patch Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/lb7zwdv7qntzy6z05gzf7m8mxw9cbgsj Types: Mailing List, Vendor Advisory Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/rj5vwh3z2xcvsf0rqwj8kokpbrxkhq4n Types: Mailing List, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 15, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added SSVC {'id': 'CVE-2026-57821', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-15T12:26:07.260895Z'} -
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