CVE-2026-120744: Apache Fineract: Plaintext Password Logging in AuthenticationApiResource on Failed Login Attempts
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.16.1
Event History
Frequently Asked Questions
Who can trigger the credential exposure?
Any unauthenticated party that can reach the publicly accessible POST /api/v1/authentication endpoint can trigger it. Prior authentication is explicitly not required for this endpoint.
What request conditions are required for a password to be exposed?
The authentication request must contain null credentials, such as a null username or password field, or malformed JSON that reaches the affected error handling. The resulting exception includes the full request body and the password value in cleartext.
Where can the exposed password appear?
The exception message is returned directly in the HTTP 500 response body to the caller and is also written to server logs at WARN level. Both the requester and parties with access to affected logs may therefore obtain the plaintext password.
Which deployments are affected and what is the available remediation?
Apache Fineract versions before 1.16.1 are affected. Upgrade to version 1.16.1, which fixes the issue.