# CVE-2025-66414: DNS Rebinding Protection Disabled by Default in Model Context Protocol TypeScript SDK for Servers Running on Localhost

- Severity: High 7.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-12-02T16:51:57.000Z
- Modified: 2026-10-18T18:10:00.100Z
- Also known as: GHSA-w48q-cv73-mx4w
- Weaknesses: CWE-350, CWE-1188
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. Prior to 1.24.0, The Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication with StreamableHTTPServerTransport or SSEServerTransport and has not enabled enableDnsRebindingProtection, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. Note that running HTTP-based MCP servers locally without authentication is not recommended per MCP security best practices. This issue does not affect servers using stdio transport. This vulnerability is fixed in 1.24.0.

(As written by CVE List.)

## Affected

- modelcontextprotocol typescript-sdk: < 1.24.0
- @modelcontextprotocol/sdk (npm): before 1.24.0
- lfprojects mcp_typescript_sdk: before 1.24.0

## Every score

- GitHub_M: CVSS:4.0 7.6 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-w48q-cv73-mx4w> (vendor-advisory, web)
- <https://github.com/modelcontextprotocol/typescript-sdk/commit/09623e2aa5044f9e9da62c73d820a8250b9d97ed> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66414> (advisory)
- <https://github.com/modelcontextprotocol/typescript-sdk/pull/1205> (web)
- <https://github.com/modelcontextprotocol/typescript-sdk/commit/608360047dc6899f1cf4f0226eb62fe7b11b3898> (web)
- <https://github.com/modelcontextprotocol/typescript-sdk> (package)

## Sources

- CVE List: [CVE-2025-66414](https://www.cve.org/CVERecord?id=CVE-2025-66414), CVE Terms of Use, modified 2025-12-02
- GitHub Advisory Database: [GHSA-w48q-cv73-mx4w](https://github.com/advisories/GHSA-w48q-cv73-mx4w), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66414](https://nvd.nist.gov/vuln/detail/CVE-2025-66414), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-66414 · Whole record: https://cve.day/CVE-2025-66414.json · Rebuilt by cve.day 2026-11-25T22:59:08.208Z
