CVE-2026-54041
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. Limited direct impact.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 3.1 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Weakness
- CWE-532 · Secrets in logs
- Record status
- Received
Affected
- LibreChat-AI LibreChat < 0.8.6
Attack profile CVSS 3.1 · 3.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-54041.md and follow it. Check whether this project is affected by CVE-2026-54041. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/LibreChat-AI/LibreChat/commit/85fa881e3c36c0bb1bdc6b08655a493eca40eb36
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-63w5-cp9j-q463
References
- https://github.com/LibreChat-AI/LibreChat/commit/85fa881e3c36c0bb1bdc6b08655a493eca40eb36
- https://github.com/LibreChat-AI/LibreChat/pull/12926
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-63w5-cp9j-q463
- https://www.librechat.ai/changelog/v0.8.6