Skip to content
MediumVulnerability

CVE-2026-54038: LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.9, GET…

Identifier
CVE-2026-54038
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

LibreChat versions before 0.8.9 pass the q parameter of GET /api/permissions/search-principals into JavaScript RegExp construction and MongoDB regex queries in packages/data-schemas/src/methods/userGroup.ts without escaping metacharacters. An authenticated user with people-picker permission can submit a catastrophic-backtracking pattern that blocks the Node.js event loop, making the service unresponsive to concurrent users, and invalid patterns can cause server errors.

Mitigation

Fixed in version 0.8.9.