Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-54031: medium-severity vulnerability (CVSS 6.3) in LibreChat-AI LibreChat.
What happened
Original description from the source: 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
Medium severity, CVSS 6.3.
Affected products and versions
LibreChat-AI LibreChat < 0.8.8
| Product | Versions | Fixed in |
|---|---|---|
| LibreChat-AI LibreChat | < 0.8.8 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrj — CVE Program
- https://github.com/LibreChat-AI/LibreChat/pull/16514 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/commit/4d33d8c2c71ad497fdfaa2c4334b0a2293bcbd67 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.8 — CVE Program
- https://www.librechat.ai/changelog/v0.8.8 — CVE Program
Weaknesses (CWE): CWE-918
Relevant change history
Published
Preliminary advisory published.