# CVE-2026-57821: Apache Fineract: Office list: SQL Injection via Subquery in orderBy

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Published: 2026-07-15T09:20:09.239Z
- Modified: 2026-10-24T22:10:00.210Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Fineract: up to 1.14.0 (not affected: 1.15.0)
- apache fineract: before 1.15.0

## References

- <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)

## Sources

- CVE List: [CVE-2026-57821](https://www.cve.org/CVERecord?id=CVE-2026-57821), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-57821](https://nvd.nist.gov/vuln/detail/CVE-2026-57821), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-57821 · Whole record: https://cve.day/CVE-2026-57821.json · Rebuilt by cve.day 2026-11-25T22:59:28.260Z
