You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Security: DNS rebinding protection is opt-in, not enabled by default #3784
Every deployment that does not explicitly pass TransportSecuritySettings(enable_dns_rebinding_protection=True, allowed_hosts=[...]) is vulnerable to DNS rebinding attacks.
Impact
DNS rebinding bypasses same-origin policy and allows malicious webpages to interact with local MCP servers. Most MCP servers run on localhost during development.
Recommendation
Enable DNS rebinding protection by default
Or at minimum: log a warning when disabled
Document the risk prominently
Consider a strict mode that enables all protections
Reference
Same class as GHSA-9h52-p55h-vw2f. Similar to TypeScript SDK maxToolInputElements being off by default (GHSA-46jr).
Activity
sattyamjjain commentedon Oct 29, 2026
Ben-Home commentedon Oct 29, 2026
sattyamjjain commentedon Oct 31, 2026