Skip to content

[GHSA-fvg8-f358-w2c8] - [v2] - SSRF guard does not block cloud metadata addresses outside 169.254.0.0/16 #2947

Closed

Description

@cliffhall

Advisory: GHSA-fvg8-f358-w2c8
Status: published; fixed in 2.15.0
Severity: Low (CVSS 3.1: 3.1)
Affected: v2 2.0.0 – 2.14.0 (no release before 2.13.0 blocked any metadata address; 2.13.0 added the guard in core/mcp/node/fetchGuard.ts with this gap). The v1 line is affected too and is tracked separately as #2951 (board #11).

isBlockedAddress blocked only the IPv4 link-local range 169.254.0.0/16 (plus IPv6 fe80::/10 and fd00:ec2::254). Cloud metadata services at other fixed addresses stayed reachable through guarded fetches, notably Alibaba Cloud ECS at 100.100.100.200 and the retired Oracle Cloud Classic service at 192.0.0.192.

Fix: block those exact addresses and their IPv4-mapped IPv6 forms. The surrounding 100.64.0.0/10 range is deliberately left reachable (CGNAT and Tailscale, including MagicDNS 100.100.100.100). Developed and reviewed in the advisory's private fork; it lands through #2942.

Priority (2026-11-11): Severity 3 — a real SSRF gap, limited to one cloud provider's metadata service with non-hardened IMDS and an OAuth flow against a hostile server; it affects both release lines. Urgency 4 — accepted advisory awaiting fixes on both lines. +1 security. Total 8 → Medium.

Activity

  1. added
    v2
    bug
    on Nov 11, 2026
  2. self-assigned this
    on Nov 11, 2026
  3. added this to the v2.15.0 milestone on Nov 11, 2026
  4. cliffhall commented on Nov 11, 2026

    @cliffhall
    MemberAuthor

    Fixed by #2942 (merged to v2/main as b46eb4b). Ships in v2.15.0. The v1 half is #2951.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions