Apache Fineract: Plaintext Password Logging in AuthenticationApiResource on Failed Login Attempts
- CVE-2026-120744
- GHSA-59f6-4wfm-229j
- EUVD-2026-141668
Description
Apache Fineract's `AuthenticationApiResource` includes plaintext passwords in exception messages when authentication requests contain null credentials or malformed JSON. The `POST /api/v1/authentication` endpoint is publicly accessible without prior authentication (explicitly permitted via `SecurityConfig`). When a request with a null username or password field is received, the code throws an `IllegalArgumentException` whose message includes both the full JSON request body and the individual password value in cleartext. The `DefaultExceptionMapper` then returns this exception message directly in the HTTP 500 response body, exposing the password to the caller. The exception is also logged at WARN level to server logs. This constitutes a PCI-DSS violation (Requirement 8.2.2) and a direct credential exposure. This issue affects Apache Fineract: before 1.16.1. Users are recommended to upgrade to version 1.16.1, which fixes the issue.
Text from the CVE.org record.
Recommendation
Apache Software Foundation Apache Fineract
- If you run a version before 1.16.1update to 1.16.1 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Apache Software Foundation Apache Fineract
Affected versions Fixed in before 1.16.1 1.16.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.