CVE-2026-54041
CVE-2026-54041 · LibreChat: Plaintext password logged on login validation error
CVSS 3.1 · Low · EPSS 0.3%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- librechatNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
librechat
- Versions
- < 0.8.6: Affected
No fix published
Original sources
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-63w5-cp9j-q463
- https://github.com/LibreChat-AI/LibreChat/pull/12926
- https://github.com/LibreChat-AI/LibreChat/commit/85fa881e3c36c0bb1bdc6b08655a493eca40eb36
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
- https://www.librechat.ai/changelog/v0.8.6
- https://nvd.nist.gov/vuln/detail/CVE-2026-54041