Cross-site request forgery in LibreChat - #VU166557
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote user to potentially associate a victim's provider credentials with their own LibreChat account.
The vulnerability exists due to insufficient cross-site request forgery validation in LibreChat's MCP OAuth callback when accepting fresh pending flows without browser-binding cookies. A remote user can initiate an OAuth flow and trick a victim into opening its authorization URL and approving provider consent to potentially access victim-authorized resources through the linked MCP integration, subject to granted scopes.