# CVE-2026-104850: MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.31.0, 2.2.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-06 · Modified: 2026-10-06
- Aliases: CGA-7w3x-vvc9-9qv7, CGA-9v2q-2hwx-v39w, CGA-cv8x-3c5g-mw6c, CGA-hh6c-2xc5-7xj2, GHSA-6qxp-vccf-f47h, CGA-32pc-3493-v83j, CGA-34mq-m95g-chvc, CGA-3895-qcv6-597c, CGA-38gw-q89c-g3mm, CGA-38gx-hm8q-6xmf, CGA-52g2-2x6m-gvqj, CGA-546j-8wgc-jhwp, CGA-54p6-h236-cjcx, CGA-5j29-35hp-pxjp, CGA-626f-x3cq-x2m8, CGA-6845-f4x5-mhw7, CGA-6cqv-h5wf-qqfh, CGA-78rf-6f35-x33h, CGA-7cvp-65v9-4f87, CGA-83qr-wx38-fx67, CGA-89cc-2986-69qm, CGA-8fh9-g855-j2h8, CGA-9j6r-52v7-rxx8, CGA-cg83-8885-hjww, CGA-cmrh-f6wc-7fq3, CGA-f3jq-2c95-8f37, CGA-f4j8-84rc-f9jx, CGA-fh3r-hmfj-6q3m, CGA-g868-92cf-cg94, CGA-gjr6-8rhj-7wqr, CGA-hcw9-8392-76vr, CGA-hrv8-844m-7cxh, CGA-jcrh-9q2p-p9gc, CGA-jf5g-jj9h-2v6c, CGA-jf6x-5crg-h76w, CGA-jg9v-hwr6-6qg9, CGA-mhc7-xrqc-6wh7, CGA-mq4w-hg72-7jfc, CGA-mw29-49c5-9c4g, CGA-phwm-rwx4-c7rx, CGA-qcw7-mj3m-2pg8, CGA-qgxx-rq76-8jcv, CGA-qmvf-v72x-59rg, CGA-qq64-rf5r-4w3v, CGA-r395-m2wx-7r7j, CGA-r939-xvxv-rrpw, CGA-vh97-54hp-qf5w, CGA-vmm8-jpq4-7h6r, CGA-wcj9-xqwc-7c52, CGA-whrx-3wxg-cgr5, CGA-xg4h-j6w9-j337
- Record: https://cvemate.com/vulnerability/CVE-2026-104850 · JSON: https://cvemate.com/vulnerability/CVE-2026-104850/json

## Description

```text
MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. Starting in version 1.12.0 and prior to versions 1.31.0 and 2.2.0, the SDK's OAuth client support let the MCP server a client connected to decide which authorization server received the client's OAuth credentials. Stored and pre-provisioned credentials were not bound to the authorization server they belong to. A malicious or compromised MCP server could name its own authorization server in its protected resource metadata. Without any user interaction, the client would send that server the `refresh_token` and `client_secret` stored from an earlier sign-in (1.x), or the configured `client_secret` or signed assertion of a bundled non-interactive provider (1.x and 2.x). Only those applications that use the SDK as an MCP client over HTTP with an `authProvider`: your own `OAuthClientProvider`, or the bundled `ClientCredentialsProvider`, `PrivateKeyJwtProvider`, `StaticPrivateKeyJwtProvider` or (2.x) `CrossAppAccessProvider` and that may connect to an MCP server the owners does not fully trust while holding credentials for a legitimate authorization server are affected. `@modelcontextprotocol/sdk` 1.31.0 (1.x) and `@modelcontextprotocol/client` 2.2.0 (2.x) patch the issue. A workaround for those who cannot upgrade is available. 2.0.0 and 2.1.0 already accept `expectedIssuer`. On 1.x, the only workaround is to connect OAuth-enabled clients only to MCP servers you trust.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.316%, percentile 26.462%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): \< 19.1.7-r3
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): \< 19.4.1-r1
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): \< 19.4.1-r1
- chainguard kibana-9.2 (Chainguard): All versions (No fix recorded) \| \< 9.2.8-r27
- chainguard kibana-9.4 (Chainguard): \< 9.4.7-r7
- chainguard kibana-9.5 (Chainguard): \< 9.5.4-r5
- chainguard langfuse-3 (Chainguard): \< 3.225.11-r8
- chainguard langfuse-3-worker (Chainguard): \< 3.225.11-r8
- chainguard langfuse-4 (Chainguard): \< 4.54.0-r1
- chainguard langfuse-4-worker (Chainguard): \< 4.54.0-r1
- chainguard langfuse-fips-3 (Chainguard): \< 3.225.11-r3
- chainguard langfuse-fips-3-worker (Chainguard): \< 3.225.11-r3
- chainguard langfuse-fips-4 (Chainguard): \< 4.49.0-r3
- chainguard langfuse-fips-4-worker (Chainguard): \< 4.49.0-r3
- chainguard opensearch-dashboards-2 (Chainguard): \< 2.19.6-r25

## References

- <https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6qxp-vccf-f47h>
- <https://github.com/modelcontextprotocol/typescript-sdk/pull/2887>
- <https://github.com/modelcontextprotocol/typescript-sdk/commit/edd12e282620ebf770d67316f19cf91d4112a1bd>
- <https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/v2.2.0>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104850.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-104850>
- <https://github.com/modelcontextprotocol/typescript-sdk>

---

Data as of 2026-12-05T06:34:41.337Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
