Home / LibreChat-AI / LibreChat / CVE-2026-54038
CVE-2026-54038: is it exploited, and which versions of LibreChat-AI LibreChat are affected and fixed?
CVE-2026-54038 is a regular expression denial of service (ReDoS) vulnerability in LibreChat-AI LibreChat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: LibreChat >= 0.8.6-rc1, < 0.8.9 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 24, 2026, 00:59 UTC and NVD November 24, 2026, 18:08 UTC.
What is CVE-2026-54038?
LibreChat: Server-Side ReDoS via Unescaped Regex in Principal Search
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.
From the CVE record by GitHub_M, last updated November 24, 2026, 00:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| LibreChat-AI | LibreChat | >= 0.8.6-rc1, < 0.8.9 |
As the CVE record by GitHub_M states it, last updated November 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-54038?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-54038 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 24, 2026)
- EPSS
- 0.63% probability of exploitation activity in the next 30 days, percentile 51.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1333 Inefficient Regular Expression Complexity
Where are the vendor advisories and references?
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-fmfv-wxj3-m7x7 x_refsource_CONFIRM
- https://github.com/LibreChat-AI/LibreChat/pull/16719 x_refsource_MISC
- https://github.com/LibreChat-AI/LibreChat/commit/de9d46fcd4f45feff849a848a84ff01becf619cb x_refsource_MISC
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9 x_refsource_MISC
- https://www.librechat.ai/changelog/v0.8.9 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 11, 2026
- Published
- November 20, 2026, 20:14 UTC
- CVE record updated
- November 24, 2026, 00:52 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified November 24, 2026, 17:54 UTC
- Last checked
- CVE list November 24, 2026, 00:59 UTC; NVD November 24, 2026, 18:08 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect LibreChat?
- Nov 20, 2026CVE-2026-54026 LibreChat-AI LibreChat: improper access control
- Nov 20, 2026CVE-2026-54031 LibreChat-AI LibreChat: server-side request forgery (SSRF)
- Nov 20, 2026CVE-2026-54044 LibreChat-AI LibreChat: credentials insufficiently protected
- Nov 20, 2026CVE-2026-54046 LibreChat-AI LibreChat: information disclosure through timing or responses
- Nov 20, 2026CVE-2026-54045 LibreChat-AI LibreChat: weak password recovery
- Nov 20, 2026CVE-2026-54042 LibreChat-AI LibreChat: no limit on login attempts (brute force)
- Nov 20, 2026CVE-2026-54023 LibreChat-AI LibreChat: information disclosure
- Nov 20, 2026CVE-2026-54043 LibreChat-AI LibreChat: authorization bypass through a user-controlled key (IDOR)
Questions about CVE-2026-54038
Is CVE-2026-54038 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.63% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of LibreChat-AI LibreChat are affected by CVE-2026-54038?
LibreChat >= 0.8.6-rc1, < 0.8.9, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-54038?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-54038?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-54038?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.