CVE-2026-54038
LibreChat regex denial of service in principal search
A low-privilege user can submit a crafted search pattern that freezes the server for other users.
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-54038 divulgada · CVSS 6.5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
LibreChat, an enhanced ChatGPT clone, has a flaw in its principal search feature that passes user-supplied search text to regular expressions without escaping it. A remote attacker with low-privilege login and people-picker permission can submit a crafted pattern that blocks the Node.js event loop, making the service unresponsive to other users, and invalid patterns can cause server errors.
Descripción original del registro (GitHub_M)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
LibreChat |
Corregida | 0.8.9 | — | — |
0.8.9Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-fmfv-wxj3-m7x7https://www.librechat.ai/changelog/v0.8.9https://github.com/LibreChat-AI/LibreChat/pull/16719https://github.com/LibreChat-AI/LibreChat/commit/de9d46fcd4f45feff849a848a84ff01becf619cbhttps://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
