---
id: "CVE-2026-65874"
kind: "vulnerability"
aliases: ["CVE-2026-65874"]
title: "Apache Fineract: ordering parameters allow blind SQL injection by authenticated users"
severity: "high"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["apache-fineract", "java", "package", "self-hosted"]
not_affected_if: ["fineract-1.16.1-or-later"]
published_at: "2026-10-30T09:17:15+00:00"
first_seen_at: "2026-10-30T09:29:39+00:00"
updated_at: "2026-10-30T09:30:44+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65874", "first_seen_at": "2026-10-30T09:29:39+00:00"}]
---

# Apache Fineract: ordering parameters allow blind SQL injection by authenticated users

Apache Fineract versions up to and including 1.15.0 pass caller-supplied orderBy, sortOrder and order parameters straight into SQL ORDER BY clauses on the center and datatable read endpoints. An authenticated user can bypass the regex validation and run time-based blind SQL injection to read database contents.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the deployed Fineract version and see whether it is `1.15.0` or earlier
- Look for the `/api/v1/centers` and `/api/v1/datatables` endpoints being reachable by users with read access

## Fix

- Apache Fineract: upgrade to `1.16.1`

## Timeline

- 2026-10-30T09:29:39+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-65874

## From the sources

This issue affects Apache Fineract versions up to and including 1.15.0. The Center read endpoint (GET /api/v1/centers) and the datatable entry read endpoints (GET /api/v1/datatables/{datatable}/{apptableId} and GET /api/v1/datatables/{datatable}/{apptableId}/{datatableId}) concatenate caller-supplied ordering parameters (orderBy, sortOrder, order) directly into the SQL ORDER BY clause. The existing regex-based input validation can be bypassed, allowing time-based blind SQL injection by any authenticated user with read access to centers or to the targeted datatable.

Users are recommended to upgrade to 1.16.1 which fixes the issue.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
