LibreChat MCP OAuth requests follow redirects to internal addresses
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-918 and the CVSS impact.
Summary
LibreChat before 0.8.8 validates only the initial destination of MCP OAuth requests. It then follows redirects without checking each target, a server-side request forgery flaw (CWE-918). A low-privileged remote attacker who can start MCP OAuth against a controlled endpoint can make the server reach internal or private addresses that the initial checks should block.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LibreChat-AI | LibreChat | before 0.8.8 | 0.8.8 | Patch available | CNA |
- LibreChat VendorLibreChat-AI Affected before 0.8.8 Fixed in 0.8.8 Patch available CNA
Remediation
Upgrade LibreChat to version 0.8.8, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA LibreChat (LibreChat-AI) Fixed in 0.8.8
Timeline
- 2026-11-20 Threatist record created from CVE-2026-54031
- 2026-11-25 CISA SSVC decision points changed
References
Other 5
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrj
- https://github.com/LibreChat-AI/LibreChat/pull/16514
- https://github.com/LibreChat-AI/LibreChat/commit/4d33d8c2c71ad497fdfaa2c4334b0a2293bcbd67
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.8
- https://www.librechat.ai/changelog/v0.8.8
More LibreChat-AI vulnerabilities
- TI-2026-96065 LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback CVSS 3.1HIGH 8.1
- TI-2026-96070 Password reset deletes pending email-verification tokens in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96067 LibreChat 2FA check lacks rate limiting, allowing code guessing CVSS 3.1MEDIUM 6.8
- TI-2026-96071 User enumeration via email verification endpoint in LibreChat CVSS 3.1MEDIUM 5.3
- TI-2026-96072 Message injection into other users' conversations in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96066 Plaintext password logged on LibreChat login validation error CVSS 3.1LOW 3.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences