Skip to content
EventPast event

rmcp OAuth client has SSRF vulnerability

1 reports1 reporting sourcesLatest report

Start here

AI overview

A GitHub security advisory discloses an SSRF vulnerability in the rmcp crate of modelcontextprotocol/rust-sdk, with the affected file being crates/rmcp/src/transport/auth.rs. Its OAuth client parses the absolute URL of resource_metadata= from the WWW-Authenticate header returned by the server and directly makes a GET request, without validating whether it is same-origin with the original MCP server or blocking loop.

Generated by AI from reports · Updated 5 days ago

Progress timeline

Oct 3
  1. GitHub 安全公告Selected
    rmcp OAuth client does not validate resource_metadata URL, has SSRF vulnerability

    A GitHub security advisory discloses an SSRF vulnerability in the rmcp crate of modelcontextprotocol/rust-sdk, with the affected file being crates/rmcp/src/transport/auth.rs. Its OAuth client parses the absolute URL of resource_metadata= from the WWW-Authenticate header returned by the server and directly makes a GET request, without validating whether it is same-origin with the original MCP server or blocking loopback, link-local, RFC 1918 addresses, or cloud metadata endpoints. An attacker-controlled MCP server can return a 401 with a header pointing to internal addresses such as http://169.254.169.254/latest/meta-data/, causing the victim application to probe cloud metadata, localhost services, private VPC or container network services, and internal HTTP APIs using its network context.

Related discussion

No discussion links have been collected for this event yet.

Attention trend

New sources per day

1 in 12 days·most 1 (Oct 3)·today 0

  • Oct 3: 1 new sources (1 outlets, 0 accounts)
  • Oct 4: 0 new sources (0 outlets, 0 accounts)
  • Oct 5: 0 new sources (0 outlets, 0 accounts)
  • Oct 6: 0 new sources (0 outlets, 0 accounts)
  • Oct 7: 0 new sources (0 outlets, 0 accounts)
  • Oct 8: 0 new sources (0 outlets, 0 accounts)
  • Oct 9: 0 new sources (0 outlets, 0 accounts)
  • Oct 10: 0 new sources (0 outlets, 0 accounts)
  • Oct 11: 0 new sources (0 outlets, 0 accounts)
  • Oct 12: 0 new sources (0 outlets, 0 accounts)
  • Oct 13: 0 new sources (0 outlets, 0 accounts)
  • Oct 14: 0 new sources (0 outlets, 0 accounts)

Hourly attention

No comparable trend data