News · LibreChat (danny-avila) · 2 min read
Event date: · Published:
LibreChat patches a high-severity LDAP authentication crash bug
LibreChat disclosed a high-severity denial-of-service flaw in its LDAP authentication middleware on November 26, 2026, and fixed it in version 0.8.9.
LibreChat, the open-source AI chat platform maintained by danny-avila, published a security advisory on November 26, 2026 disclosing a high-severity denial-of-service flaw in its LDAP authentication middleware, detailed in GHSA-qqfg-3v3f-mhrj.
What changed
- The flaw is tracked as
CVE-2026-137586and rated High with a CVSS score of 8.7 - It is classified as
CWE-1287, improper validation of a specified type - Versions 0.7.3 through 0.8.8 are affected; version 0.8.9 contains the fix
- An unauthenticated attacker can trigger the bug by posting a valid directory email with a non-string password to
/api/auth/login - The
requireLdapAuthmiddleware throws an uncaughtldapjsassertion error, crashing the Node.js process
Why it matters for AI builders
An unauthenticated, single-request crash in the authentication path of a widely used open-source AI chat platform is a serious availability risk. Anyone self-hosting LibreChat with LDAP enabled can have their server taken down by one crafted login request, without needing valid credentials.
What to do now
Teams running LibreChat with LDAP authentication should upgrade to version 0.8.9, where the fix is included. Details of the advisory, including the affected code path, are published on GitHub Security Advisories.
Sources
- CVE-2026-137586: Improper Input Validation in LDAP Authentication (GitHub Security Advisories / LibreChat, November 26, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.