{"id":"CVE-2026-65874","summary":"Apache Fineract: SQL injection via ORDER BY parameters in the Center and datatables endpoints","details":"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.","modified":"2026-11-08T07:14:01.918271049Z","published":"2026-10-30T08:18:08.619Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65874.json","cna_assigner":"apache"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/10/30/5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65874.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/c4q539mkm5blnp5vdb72tzq6r9qg7bdh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65874"},{"type":"FIX","url":"https://github.com/apache/fineract/pull/6230"},{"type":"FIX","url":"https://github.com/apache/fineract/pull/6277"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/fineract","events":[{"introduced":"0"},{"fixed":"6da8a989b398cb46537e91d8fe8769655ea1810d"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"1.15.0"}]},{"range":[{"introduced":"0"},{"fixed":"1.16.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:apache:fineract:*:*:*:*:*:*:*:*"}]}}],"versions":["1.12.1","1.12.0","1.11.0","1.10.0","1.9.0","1.5.0","1.3.0","1.2.0","1.1.0","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65874.json","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/apache/fineract/commit/6da8a989b398cb46537e91d8fe8769655ea1810d","target":{"file":"fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/common/GlobalConfigurationStepDef.java"},"deprecated":false,"digest":{"line_hashes":["288594522724613614789894359347425300081","235240903891595599677071687606259141628","290647214429298255045875589017908605447"],"threshold":0.9},"id":"CVE-2026-65874-fd01f755","signature_type":"Line"}],"vanir_signatures_modified":"2026-11-08T07:14:01Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}