# CVE-2024-32838: Apache Fineract: SQL injection vulnerabilities in offices API endpoint

> An authenticated attacker can inject malicious SQL into Fineract API endpoints, potentially reading or modifying sensitive financial data.

- **Severity:** Critical 9.4 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 12 Feb 2025
- **Updated:** 12 Feb 2025
- **Also known as:** GHSA-pqv7-crpv-669v

## What is CVE-2024-32838?

CVE-2024-32838 is a critical SQL injection vulnerability in Apache Fineract, published on 12 Feb 2025. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

SQL Injection vulnerability in various API endpoints - offices, dashboards, etc. Apache Fineract versions 1.9 and before have a vulnerability that allows an authenticated attacker to inject malicious data into some of the REST API endpoints' query parameter. 
Users are recommended to upgrade to version 1.10.1, which fixes this issue.

A SQL Validator has been implemented which allows us to configure a series of tests and checks against our SQL queries that will allow us to validate and protect against nearly all potential SQL injection attacks.

Weakness: CWE-89 (Improper Neutralization of Special Elements used in an SQL Command)

## Which versions are affected by CVE-2024-32838?

It affects 1 product.


Products: Apache Fineract.

## How do I fix CVE-2024-32838?

No fix has been published for CVE-2024-32838 yet. Limit exposure of the affected software until one is available.

## Is CVE-2024-32838 being exploited?

There is no known exploitation of CVE-2024-32838 in the wild and no public exploit code.

## Other vulnerabilities in Apache Fineract

- [CVE-2024-23538](https://insights.sbomify.com/CVE-2024-23538/): SQL injection in Apache Fineract (critical 9.9)
- [CVE-2018-11800](https://insights.sbomify.com/CVE-2018-11800/): SQL injection in Apache Fineract (critical 9.8)
- [CVE-2018-11801](https://insights.sbomify.com/CVE-2018-11801/): SQL injection in Apache Fineract (critical 9.8)
- [CVE-2018-1290](https://insights.sbomify.com/CVE-2018-1290/): SQL injection in Apache Fineract (critical 9.8)
- [CVE-2025-58130](https://insights.sbomify.com/CVE-2025-58130/): Apache Fineract: Server Key not masked (critical 9.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-32838 and fix it if it is affected.

What it is: CVE-2024-32838 is a critical SQL injection vulnerability in Apache Fineract, published on 12 Feb 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-32838 in the wild and no public exploit code.

Affected product: Apache Fineract. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-32838/ (Markdown: https://insights.sbomify.com/CVE-2024-32838/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-32838
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-32838
- OSV: https://osv.dev/vulnerability/CVE-2024-32838

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-32838/
Summaries are generated and may contain mistakes; the official description above is the record.
