Severity: low 

Affected versions:

- Apache Fineract before 1.16.1
- Apache Fineract 1.16.1 unaffected

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.

Credit:

Andrea Cosentino ([email protected]) (finder)
Andrea Cosentino ([email protected]) (remediation developer)

References:

https://fineract.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-120744

Reply via email to