Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-54038
VULNERABILITY

CVE-2026-54038

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
6.5
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Timeline

Published
Nov 20, 2026 21:17
Modified
Nov 24, 2026 17:54
Last observed
Nov 24, 2026 14:00

CWE

CWE-1333

References