npm
CVE-2026-104850
MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- Severity
- High 7.5
- Published
- 6 Oct 2026
- Last changed
- 6 Oct 2026
- Added to UpHeron
- 22 Oct 2026
- Fixed in
- 1.31.0, 2.2.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Insufficient verification of data authenticity (CWE-345)Insufficiently protected credentials (CWE-522)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-6qxp-vccf-f47h
- Sources
- OSV.dev and GitHub
Description
In affected versions, the SDK's OAuth client let the MCP server decide which authorization server received the client's OAuth credentials. Credentials were not tied to the authorization server they belong to.
A malicious or compromised MCP server could name its own authorization server. With no user interaction, the client would send it:
- the refresh_token and client_secret stored from an earlier sign-in
- the client_secret or signed assertion configured on a bundled provider
Affected software
| Software | Affected versions |
|---|---|
@modelcontextprotocol/clientnpm · osv:npm:@modelcontextprotocol/client |
|
@modelcontextprotocol/sdknpm · osv:npm:@modelcontextprotocol/sdk |
|
About @modelcontextprotocol/client
- Weekly downloads (npm)
- 19,746,364npm, 17 Nov 2026
Vulnerabilities in @modelcontextprotocol/client
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodiesMedium 6.5 20 Oct 2026
About @modelcontextprotocol/sdk
- Weekly downloads (npm)
- 90,522,817npm, 17 Nov 2026
Vulnerabilities in @modelcontextprotocol/sdk
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-111768MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validationHigh 7.5 20 Oct 2026
- CVE-2026-111771MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another serviceMedium 6.8 20 Oct 2026
- CVE-2026-111767MCP TypeScript SDK: Experimental tasks were not tied to the session that created themHigh 8.6 20 Oct 2026
- CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodiesMedium 6.5 20 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-104850
- GitHub Advisory Database https://github.com/advisories/GHSA-6qxp-vccf-f47h