Highlights
Path Traversal: 1 prior fix. Scrutinize any change in this area.
McpContext: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Server-Side Request Forgery: The loadResource handler was vulnerable to SSRF, allowing unauthorized HTTP requests to internal or external systems by failing to restrict target URLs to safe boundaries. Developers must enforce strict URL allowlist and blocklist validations prior to any fetch operation.
Path Traversal: Unvalidated file operations allowed writing outside of designated workspace boundaries due to insufficient path validation. Future path handling must canonicalize paths and explicitly check against defined MCP client roots before utilizing file system APIs.