Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-120744 EUVD-2026-141668

Apache Fineract: Plaintext Password Logging in AuthenticationApiResource on Failed Login Attempts

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Fineract < 1.16.1 1.16.1

References