vulns.co
/
GKData.io MCP and API Buy me a coffee

LibreChat

LibreChat: delegated credentials must remain bound to the initiating session

LibreChat could associate third-party credentials with the wrong local account during an MCP OAuth callback. Its CVE-2026-31944 advisory explains that the callback trusted the cached initiator identity without authenticating the returning browser or checking that the identities matched. The reported consequences stay within the integration's delegated permissions; they do not amount to takeover of the person's LibreChat account. The scenario requires an authenticated initiator, enabled MCP OAuth and another person's interaction with the authorization flow. Prior provider consent may skip the consent screen, but interaction is still required.

Open the referenceMaintainer AdvisoryReviewed 2026-10-03

How to use this reference

Editorial lesson: bind OAuth initiation, callback session, and credential-storage owner before accepting a grant. Treat transaction state as correlation, not sufficient proof of browser identity. The advisory names 0.8.3-rc1 as patched but does not explain its implementation.

Before reading

  • OAuth authorization-code callbacks and transaction state
  • Local session identity versus external delegated authority

Context and limits

  • Prerequisites include an authenticated initiator, enabled MCP OAuth, and another person’s interaction with the authorization flow; existing provider consent can change the interaction required.
  • The source lists affected versions as >= v0.8.2, <= 0.8.2-rc3. Preserve this unusual stable/prerelease range without silently normalizing it.
  • No independent production-compromise evidence, patch-release date, historical-token revocation behavior, or award amount is established.
  • Conceptual defensive summary; public disclosure grants no testing authorization.

Sources

  1. MCP OAuth callback does not validate browser session, allows token theft via redirect linkLibreChat · reviewed 2026-10-03

Record reviewed 2026-10-03. Snapshot af2809c308fc. Open the complete JSON contract.

Library synced 2026-11-18 · cases last reviewed 2026-10-05

af2809c308fc · JSON exports & schemas · CC BY 4.0 content / MIT software