LibreChat password exposure in login validation logs
LibreChat-AI LibreChat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| LibreChat-AI LibreChat |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M