Skip to content
MCP Inspector·Indexed by this site · Originally published· Event →SelectedAttention38

MCP Inspector fetchGuard.ts has an SSRF vulnerability, fixed in 2.15.0

[fetchGuard.ts] CWE-918: Server-Side Request Forgery (SSRF)

AI summary

MCP Inspector fixes an SSRF vulnerability in fetchGuard.ts (GHSA-fvg8-f358-w2c8, severity HIGH, part of the Anthropic Bug Bounty program). This module is used to block OAuth requests from accessing cloud instance metadata endpoints, but the isBlockedAddress blacklist only hardcodes 169.254.0.0/16, its corresponding IPv4-mapped form, fe80::/10, and fd00:ec2::254, and does not cover other metadata addresses such as Alibaba Cloud's 100.100.100.200; when the server-controlled OAuth URL is an IP literal, isBlockedAddress returns false, and the guarded request goes directly to the metadata service. The advisory recommends extending the blacklist to cover known cloud metadata endpoints and their IPv4-mapped forms, and adding unit tests.

Why it was selected

The announcement gives the root cause and fixed version for the metadata blacklist missing the Alibaba Cloud endpoint; teams deploying services on other clouds can use it to check for similar blacklist blind spots.

Read originalgithub.com