CVE-2026-54031 — LibreChat-AI LibreChat
One of 12 LibreChat-AI LibreChat vulnerabilities published together by NVD: our article covers all of them.
WebAIIdentity & authVulnerabilitiesEndpoint securitySummary
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.
Severity breakdown
Medium · 6.3
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality, none on integrity and availability
Weakness
- CWE-918: Server-Side Request Forgery (SSRF)
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| LibreChat-AI LibreChat | < 0.8.8 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/LibreChat-AI/LibreChat/commit/4d33d8c2c71ad497fdfaa2c4334b0a…
- github.com/LibreChat-AI/LibreChat/pull/16514
- github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.8
Other references
Affected
- LibreChat-AI LibreChat
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-54031?
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. Weakness type: Server-Side Request Forgery (SSRF) (CWE-918).
How severe is CVE-2026-54031?
CVE-2026-54031 has a CVSS 3.1 base score of 6.3 (medium), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-54031 being exploited?
Not as far as is known: CVE-2026-54031 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-54031?
LibreChat-AI LibreChat < 0.8.8.
How do I fix CVE-2026-54031?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-137496 — budibase server
- CVE-2026-137469 — siyuan-note siyuan
- CVE-2026-135641 — wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website
- Secure MCP Server Plugin Vulnerable to Authorization Bypass
- AI Engine – MCP Server & AI Chatbot for WordPress Vulnerable to Limited Arbitrary File Upload