{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-65874",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-07-23T05:21:34.024Z",
        "datePublished": "2026-10-30T08:18:08.619Z",
        "dateUpdated": "2026-10-30T09:10:29.643Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-10-30T08:18:08.619Z"
            },
            "title": "Apache Fineract: SQL injection via ORDER BY parameters in the Center and datatables endpoints",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "lang": "en",
                            "cweId": "CWE-89",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache Fineract",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThanOrEqual": "1.15.0",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "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.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "This issue affects Apache Fineract versions up to and including 1.15.0. The Center read endpoint (<code>GET /api/v1/centers</code>) and the datatable entry read endpoints (<code>GET /api/v1/datatables/{datatable}/{apptableId}</code> and <code>GET /api/v1/datatables/{datatable}/{apptableId}/{datatableId}</code>) concatenate caller-supplied ordering parameters (<code>orderBy</code>, <code>sortOrder</code>, <code>order</code>) directly into the SQL <code>ORDER BY</code> 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.<br><br>Users are recommended to upgrade to 1.16.1 which fixes the issue."
                        }
                    ]
                }
            ],
            "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"
                        }
                    ]
                }
            ],
            "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": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2026-10-30T09:10:29.643Z"
                }
            }
        ]
    }
}