Node.Js Service Vulnerability in LibreChat Affects User Group Permissions
CVE-2026-54038

6.5MEDIUM

Key Information:

Status
Vendor
CVE Published:
20 November 2026

What is CVE-2026-54038?

The vulnerability in LibreChat allows authenticated users with people-picker permission to exploit the GET /api/permissions/search-principals endpoint. By passing unescaped metacharacters to JavaScript RegExp and MongoDB regex queries, an attacker can craft catastrophic-backtracking patterns that block the Node.js event loop, leading to service unresponsiveness and errors for concurrent users. This issue was addressed in version 0.8.9, which includes proper escaping of metacharacters.

Affected Version(s)

LibreChat >= 0.8.6-rc1, < 0.8.9

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.