MediumVulnerability
CVE-2026-54038: LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.9, GET…
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-54038
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-54045: LibreChat password reset request deletes pending email verification tokensSimilar attack · NVD/CVE Database
- MediumCVE-2026-114499: codebase-memory-mcp gitignore matcher exponential backtracking stalls indexingSimilar attack · NVD/CVE Database
- MediumCVE-2026-114497: codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP…Similar attack · NVD/CVE Database
- HighCVE-2026-114494: codebase-memory-mcp query_graph stack overflow via oversized Cypher RETURNSimilar attack · NVD/CVE Database
- MediumCVE-2026-77331: memtomem-stm session reconnect and cancellation recovery flawsSimilar attack · NVD/CVE Database