{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54038","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-06-11T16:57:50.019Z","datePublished":"2026-11-20T20:14:52.259Z","dateUpdated":"2026-11-20T20:14:52.259Z"},"containers":{"cna":{"title":"LibreChat: Server-Side ReDoS via Unescaped Regex in Principal Search","problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-fmfv-wxj3-m7x7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-fmfv-wxj3-m7x7"},{"name":"https://github.com/LibreChat-AI/LibreChat/pull/16719","tags":["x_refsource_MISC"],"url":"https://github.com/LibreChat-AI/LibreChat/pull/16719"},{"name":"https://github.com/LibreChat-AI/LibreChat/commit/de9d46fcd4f45feff849a848a84ff01becf619cb","tags":["x_refsource_MISC"],"url":"https://github.com/LibreChat-AI/LibreChat/commit/de9d46fcd4f45feff849a848a84ff01becf619cb"},{"name":"https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9","tags":["x_refsource_MISC"],"url":"https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9"},{"name":"https://www.librechat.ai/changelog/v0.8.9","tags":["x_refsource_MISC"],"url":"https://www.librechat.ai/changelog/v0.8.9"}],"affected":[{"vendor":"LibreChat-AI","product":"LibreChat","versions":[{"version":">= 0.8.6-rc1, < 0.8.9","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-11-20T20:14:52.259Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-fmfv-wxj3-m7x7","discovery":"UNKNOWN"}}}}