CVE-2026-31944

LibreChat is a ChatGPT clone with additional features. From 0.8.2 to 0.8.2-rc3, The MCP (Model Context Protocol) OAuth callback endpoint accepts the redirect from the identity provider and stores OAuth tokens for the user who initiated the flow, without verifying that the browser hitting the redirect URL is logged in or that the logged-in user matches the initiator. An attacker can send the authorization URL to a victim; when the victim completes the flow, the victim’s OAuth tokens are stored on the attacker’s LibreChat account, enabling account takeover of the victim’s MCP-linked services (e.g. Atlassian, Outlook). This vulnerability is fixed in 0.8.3-rc1.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:librechat:librechat:0.8.2:-:*:*:*:*:*:*
cpe:2.3:a:librechat:librechat:0.8.2:rc1:*:*:*:*:*:*
cpe:2.3:a:librechat:librechat:0.8.2:rc2:*:*:*:*:*:*
cpe:2.3:a:librechat:librechat:0.8.2:rc3:*:*:*:*:*:*

History

17 Jun 2026, 10:34

Type Values Removed Values Added
Summary
  • (es) LibreChat es un clon de ChatGPT con características adicionales. Desde 0.8.2 hasta 0.8.2-rc3, el endpoint de callback OAuth de MCP (Model Context Protocol) acepta la redirección del proveedor de identidad y almacena tokens OAuth para el usuario que inició el flujo, sin verificar que el navegador que accede a la URL de redirección esté logueado o que el usuario logueado coincida con el iniciador. Un atacante puede enviar la URL de autorización a una víctima; cuando la víctima completa el flujo, los tokens OAuth de la víctima se almacenan en la cuenta de LibreChat del atacante, permitiendo la toma de control de la cuenta de los servicios vinculados a MCP de la víctima (p. ej., Atlassian, Outlook). Esta vulnerabilidad se corrige en 0.8.3-rc1.

17 Mar 2026, 12:39

Type Values Removed Values Added
References () https://github.com/danny-avila/LibreChat/security/advisories/GHSA-vf7j-7mrx-hp7g - () https://github.com/danny-avila/LibreChat/security/advisories/GHSA-vf7j-7mrx-hp7g - Exploit, Vendor Advisory
First Time Librechat
Librechat librechat
CPE cpe:2.3:a:librechat:librechat:0.8.2:rc3:*:*:*:*:*:*
cpe:2.3:a:librechat:librechat:0.8.2:rc2:*:*:*:*:*:*
cpe:2.3:a:librechat:librechat:0.8.2:rc1:*:*:*:*:*:*
cpe:2.3:a:librechat:librechat:0.8.2:-:*:*:*:*:*:*

13 Mar 2026, 19:54

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-13 19:54

Updated : 2026-06-17 10:34


NVD link : CVE-2026-31944

Mitre link : CVE-2026-31944

CVE.ORG link : CVE-2026-31944


JSON object : View

Products Affected

librechat

  • librechat
CWE
CWE-306

Missing Authentication for Critical Function