| Component | LibreChat |
| Severity | medium (CVSS 6.3) |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| Published (NVD) | 2026-11-20 |
| Affected versions | < 0.8.8 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 0.8.8 |
| Weakness | CWE-918 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Received) lists no affected versions of LibreChat for this CVE. The ranges above come from the CVE record written by GitHub_M, the CNA that assigned the CVE.
NVD description
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.8, packages/api/src/mcp/oauth/handler.ts createOAuthFetch validates only the initial destination for MCP OAuth discovery, registration, token, refresh, and revocation requests, then uses redirect-following fetch behavior without validating each redirect target. An attacker who can initiate MCP OAuth against a controlled endpoint can redirect server requests to internal or private addresses, reaching services that the initial SSRF checks should block. The separate MCP transport path already validates redirects and is not affected. This issue is fixed in version 0.8.8.
What to do
- Upgrade LibreChat to
0.8.8or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-54031
- https://github.com/LibreChat-AI/LibreChat/commit/4d33d8c2c71ad497fdfaa2c4334b0a2293bcbd67
- https://github.com/LibreChat-AI/LibreChat/pull/16514
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.8
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrj
- https://www.librechat.ai/changelog/v0.8.8