Improper access control in LibreChat - CVE-2026-54030
Published: June 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in packages/api/src/mcp/oauth/handler.ts when processing OAuth protected resource metadata from an MCP server. A remote attacker can supply crafted metadata with a mismatched resource parameter to disclose sensitive information.
User interaction is required to complete the OAuth flow.