{"id":"CVE-2026-65874","state":"PUBLISHED","title":"Apache Fineract: SQL injection via ORDER BY parameters in the Center and datatables endpoints","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.\n\nUsers are recommended to upgrade to 1.16.1 which fixes the issue.","publishedAt":"2026-10-30T08:18:08.619Z","updatedAt":"2026-10-30T09:10:29.643Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Fineract"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Fineract","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.15.0","versionType":"semver"}]}],"references":["https://github.com/apache/fineract/pull/6230","https://github.com/apache/fineract/pull/6277","https://lists.apache.org/thread/c4q539mkm5blnp5vdb72tzq6r9qg7bdh","http://www.openwall.com/lists/oss-security/2026/10/30/5"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-30T09:26:06.022Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/65xxx/CVE-2026-65874.json","commit":"ab9d9803d845aa84d2294b434e24c8ac71d4e296","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-65874","state":"PUBLISHED","datePublished":"2026-10-30T08:18:08.619Z","dateUpdated":"2026-10-30T09:10:29.643Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-07-23T05:21:34.024Z"},"containers":{"cna":{"title":"Apache Fineract: SQL injection via ORDER BY parameters in the Center and datatables endpoints","descriptions":[{"lang":"en","value":"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.\n\nUsers are recommended to upgrade to 1.16.1 which fixes the issue."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Fineract","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.15.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/apache/fineract/pull/6230","tags":["patch"]},{"url":"https://github.com/apache/fineract/pull/6277","tags":["patch"]},{"url":"https://lists.apache.org/thread/c4q539mkm5blnp5vdb72tzq6r9qg7bdh","tags":["vendor-advisory"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"important"}},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-10-30T08:18:08.619Z"},"source":{"discovery":"UNKNOWN"},"credits":[{"lang":"en","value":"Abdullah Kareem @cyberkareem","type":"finder"},{"lang":"en","value":"Louis Van der Walt of Lateran Technologies @SuperUserDone","type":"reporter"},{"lang":"en","value":"Terence Monteiro @terencemo","type":"remediation developer"},{"lang":"en","value":"Victor Romero @iohacker","type":"remediation reviewer"}],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/30/5"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-30T09:10:29.643Z"}}]}}}