CVE-2026-65874

Apache Fineract: SQL injection via ORDER BY parameters in the Center and datatables endpoints

Published Oct 30, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The exposed endpoints construct an SQL ORDER BY clause by concatenating user‑supplied parameters directly into the query. A bypass of the existing regex validation permits attackers to inject malicious SQL, resulting in a time‑based blind SQL injection. This weakness (CWE‑89) can let an authenticated user read sensitive database contents through repeated queries, impacting confidentiality of center records and custom datatables.

Affected Systems

Apache Fineract versions 1.15.0 and earlier are vulnerable. The bug appears in the Center read endpoint (GET /api/v1/centers) and in the datatable read endpoints (GET /api/v1/datatables/{datatable}/{apptableId} and GET /api/v1/datatables/{datatable}/{apptableId}/{datatableId}). All users with read access to centers or the target datatable are affected.

Risk and Exploitability

The CVSS score is 8.8, and the EPSS score is < 1%; the vulnerability is not listed in CISA KEV. The exploitation requires only authenticated read permissions to the affected resources, so any user granted that privilege could trigger the injection. Attackers can leverage the time‑based blind technique to infer database contents, potentially leading to broader data compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch by upgrading Apache Fineract to version 1.16.1.
  • If upgrade is not immediately possible, restrict or revoke read permissions on the Center and datatable resources for all untrusted accounts.
  • Perform a security review of other database interactions in Fineract to ensure that all inputs are properly parameterized and validated against SQL injection.

Generated by OpenCVE AI on November 2, 2026 at 15:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:fineract:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Apache
Apache fineract
Vendors & Products Apache
Apache fineract
Type Values Removed Values Added
Description 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.
Title Apache Fineract: SQL injection via ORDER BY parameters in the Center and datatables endpoints
Weaknesses CWE-89
References
Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 6, 2026, 4:29 PM
Reserved
Jul 23, 2026, 5:21 AM
Status
Modified
Published
Oct 30, 2026, 9:17 AM
Modified
Nov 6, 2026, 5:19 PM