LowVulnerability
CVE-2026-54041: LibreChat login path logs plaintext passwords during validation errors
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-54041
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
LibreChat versions prior to 0.8.6 log the full request body, including the plaintext password, when Zod validation fails in the POST /api/auth/login local-login path in api/strategies/localStrategy.js. The logging formatter does not redact the password, so a direct invalid login request can expose it. A principal with access to stdout, error logs or journal output can recover the submitted credential.
Mitigation
Fixed in 0.8.6.