CVE-2026-54041 - LibreChat: Plaintext password logged on login validation error
Vulnerability · Reported by NVD · · CWE-532
- Severity
- Low Risk score 31/100
- CVSS
- 3.1 v3.1 · from NVD
- Exploit chance (EPSS)
- 0.33% Higher than 19% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.6, the POST /api/auth/login local-login validation path in api/strategies/localStrategy.js logs req.body, including the submitted plaintext password, during a Zod validation failure. The standard browser form validation makes this path less likely through the normal interface, but a direct invalid login request can reach it, and the logging formatter does not redact the password stored in metadata. A principal with access to application stdout, error logs, or journal output can recover the submitted credential. This issue is fixed in version 0.8.6.
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, without any login, and only if a user is tricked into an action (such as clicking a link or opening a file). Attack complexity is high, meaning specific conditions must exist first.
Is it being exploited?
The EPSS model estimates a 0.33% chance this CVE will be exploited in the next 30 days, which is low and higher than 19% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Warn users about suspicious links and files that could trigger the flaw. 5) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Tags
CVE-2026-54041
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-54041 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.