LibreChatPublished 20 Nov 2026NVD status: Received

CVE-2026-54038

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers.

ComponentLibreChat
Severitymedium (CVSS 6.5)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published (NVD)2026-11-20
Last modified2026-11-24
Affected versions
< 0.8.9
read from the advisory text, followed where the structured sources say otherwise
Fixed in0.8.9
WeaknessCWE-1333
CISA KEVnot listed

Versions, checked against NVD

NVD's record (status: Received) lists no affected versions of LibreChat for this CVE. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.

NVD description

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.9, GET /api/permissions/search-principals passes the q parameter to JavaScript RegExp construction and MongoDB regex queries in packages/data-schemas/src/methods/userGroup.ts findGroupsByNamePattern and searchPrincipals without escaping metacharacters. An authenticated user with people-picker permission can submit a catastrophic-backtracking pattern that blocks the Node.js event loop and makes the service unresponsive to concurrent users; invalid patterns can also produce server errors. This issue is fixed in version 0.8.9.

What to do

  • Upgrade LibreChat to 0.8.9 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources