/

CVE-2026-64618

Severity:

CRITICAL RISK

(9.8)

SQL Injection (CWE-89) in Apache Fineract Search API

CVE-2026-64618

Analyzed

Vulnerability type

Category:

SQL Injection

CWE:

CWE-89

Impact:

Potential unauthorized database access or query manipulation

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Apache Fineract has a SQL injection vulnerability in the outStandingAmountPercentageCondition parameter of its advanced search API. If an attacker can submit input to the affected endpoint, insufficient neutralization may allow that input to alter database query behavior.

Apache Fineract has a SQL injection vulnerability in the outStandingAmountPercentageCondition parameter of its advanced search API. If an attacker can submit input to the affected endpoint, insufficient neutralization may allow that input to alter database query behavior.

Affected context

The issue affects Apache Fineract through version 1.15.0. It occurs in the /fineract-provider/api/v1/search/advance HTTP API endpoint, where the outStandingAmountPercentageCondition parameter is not sufficiently neutralized before being used in an SQL command.

The issue affects Apache Fineract through version 1.15.0. It occurs in the /fineract-provider/api/v1/search/advance HTTP API endpoint, where the outStandingAmountPercentageCondition parameter is not sufficiently neutralized before being used in an SQL command.

Exploit preconditions

  • Attack surface: The advanced search HTTP API endpoint must be reachable.
  • Required access: The attacker must be able to submit requests to the endpoint; authentication and authorization requirements depend on the deployment.
  • Trigger point: The application processes the outStandingAmountPercentageCondition parameter.
  • Why exploitation is possible: Insufficient input neutralization may allow parameter content to affect SQL command interpretation.
  • Attack surface: The advanced search HTTP API endpoint must be reachable.
  • Required access: The attacker must be able to submit requests to the endpoint; authentication and authorization requirements depend on the deployment.
  • Trigger point: The application processes the outStandingAmountPercentageCondition parameter.
  • Why exploitation is possible: Insufficient input neutralization may allow parameter content to affect SQL command interpretation.

Why this happens

The application does not adequately neutralize special elements in a value used in an SQL command. This is an SQL injection flaw mapped to CWE-89, where input is interpreted as part of a query rather than strictly as data. The underlying insecure pattern is constructing or executing database commands without reliably separating query structure from user-controlled values.

The application does not adequately neutralize special elements in a value used in an SQL command. This is an SQL injection flaw mapped to CWE-89, where input is interpreted as part of a query rather than strictly as data. The underlying insecure pattern is constructing or executing database commands without reliably separating query structure from user-controlled values.

Potential impact

  • An attacker may be able to alter the behavior of database queries.
  • Sensitive database information could be exposed.
  • Database records could potentially be modified or deleted, depending on query privileges and controls.
  • Application availability may be affected by disruptive database operations.
  • An attacker may be able to alter the behavior of database queries.
  • Sensitive database information could be exposed.
  • Database records could potentially be modified or deleted, depending on query privileges and controls.
  • Application availability may be affected by disruptive database operations.

General mitigation guidance

Mitigation generally centers on keeping untrusted input separate from SQL command structure.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for database operations.
  • Applying strict, allowlist-based validation appropriate to the parameter's expected type and range.
  • Avoiding dynamic SQL construction from request values.
  • Limiting database account privileges to the minimum needed by the application.
  • Enforcing authorization and monitoring around sensitive search operations.

Mitigation generally centers on keeping untrusted input separate from SQL command structure.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for database operations.
  • Applying strict, allowlist-based validation appropriate to the parameter's expected type and range.
  • Avoiding dynamic SQL construction from request values.
  • Limiting database account privileges to the minimum needed by the application.
  • Enforcing authorization and monitoring around sensitive search operations.

How teams detect issues like this

  • Use static analysis to identify SQL construction that incorporates request parameters without parameter binding.
  • Review database access code for dynamic query fragments and verify that values are passed separately from query structure.
  • Apply API input policies that validate parameter types and permitted ranges.
  • Monitor application and database logs for unusual query errors, patterns, or access behavior.
  • Automated code review tools can help flag potentially unsafe SQL handling.
  • Use static analysis to identify SQL construction that incorporates request parameters without parameter binding.
  • Review database access code for dynamic query fragments and verify that values are passed separately from query structure.
  • Apply API input policies that validate parameter types and permitted ranges.
  • Monitor application and database logs for unusual query errors, patterns, or access behavior.
  • Automated code review tools can help flag potentially unsafe SQL handling.

Sources

SourceLink
github.comgithub.com/apache/fineract/pull/6153
lists.apache.orglists.apache.org/thread/s8orckszcd9x4d1qsloc046ppf5q9oc7
openwall.comopenwall.com/lists/oss-security/2026/10/30/4

Frequently asked

questions

It concerns the outStandingAmountPercentageCondition parameter on Fineract's advanced search API endpoint. Exploitability depends on whether an attacker can reach and submit requests to that endpoint.

The vulnerability description does not specify authentication requirements. Access depends on the deployment's authentication and authorization controls.

Use parameterized queries or prepared statements so request values are treated as data, not SQL syntax.

Combine parameter binding with strict input validation, least-privilege database access, code review, and automated checks for unsafe SQL construction.

It concerns the outStandingAmountPercentageCondition parameter on Fineract's advanced search API endpoint. Exploitability depends on whether an attacker can reach and submit requests to that endpoint.

The vulnerability description does not specify authentication requirements. Access depends on the deployment's authentication and authorization controls.

Use parameterized queries or prepared statements so request values are treated as data, not SQL syntax.

Combine parameter binding with strict input validation, least-privilege database access, code review, and automated checks for unsafe SQL construction.

Find out what's already
exploitable in your codebase.