Local Login Validation Flaw in LibreChat Affects User Credential Security
CVE-2026-54041
3.1LOW
What is CVE-2026-54041?
LibreChat, an enhanced clone of ChatGPT that supports various AI providers, exhibited a vulnerability in its local login validation process. Prior to version 0.8.6, the API endpoint for login requests improperly logged the contents of the request body—including user plaintext passwords—during Zod validation failures. While standard browser validation reduces the likelihood of reaching this endpoint through regular usage, attackers could exploit it via direct invalid login attempts. Access to application stdout, error logs, or journal outputs enables an attacker to retrieve these sensitive credentials easily, compromising user security. The issue has been addressed in version 0.8.6.
Affected Version(s)
LibreChat < 0.8.6
