{"identifier":"CVE-2026-54038","cve":{"id":"CVE-2026-54038","description":"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.","published":"2026-11-20T21:17:38.030000+00:00","modified":"2026-11-24T17:54:52.597000+00:00","status":"Awaiting Analysis","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvss_version":"3.1","affected":[],"weaknesses":["CWE-1333"],"references":[{"url":"https://github.com/LibreChat-AI/LibreChat/commit/de9d46fcd4f45feff849a848a84ff01becf619cb","source":"security-advisories@github.com"},{"url":"https://github.com/LibreChat-AI/LibreChat/pull/16719","source":"security-advisories@github.com"},{"url":"https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9","source":"security-advisories@github.com"},{"url":"https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-fmfv-wxj3-m7x7","source":"security-advisories@github.com"},{"url":"https://www.librechat.ai/changelog/v0.8.9","source":"security-advisories@github.com"}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-24T00:22:14.289418Z","id":"CVE-2026-54038","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[],"source":"nvd","retrieved_at":"2026-11-24T20:23:46.947915+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00633,"percentile":0.51758,"date":"2026-12-04","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"github.com","source_url":"https://github.com/LibreChat-AI/LibreChat/commit/de9d46fcd4f45feff849a848a84ff01becf619cb","investigate_url":"https://investigate.aeglixmind.com/#github.com"},{"domain":"www.librechat.ai","source_url":"https://www.librechat.ai/changelog/v0.8.9","investigate_url":"https://investigate.aeglixmind.com/#www.librechat.ai"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-54038","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-54038","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-54038","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}