Repository navigation
fix(deps): update rust crate rmcp to v3 [security] - #213
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/crate-rmcp-vulnerability
branch
from
November 16, 2026 15:01
9cb1b68 to
82dc3a1
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.1β3.02.1β3.0OAuth client SSRF filter checks host strings, not resolved addresses
GHSA-5p52-q7pq-9fq2 / RUSTSEC-2026-0457
More information
Details
From 2.0.0 until 3.7.0, the rmcp OAuth client decided whether it may fetch an
authorization server's metadata URL by inspecting only the host string. It
rejected literal loopback, private and link-local IP addresses and known cloud
metadata hostnames, but it did not resolve other hostnames. A hostname that
resolves to an internal address passed the check.
A malicious MCP server can return protected-resource metadata that names an
authorization server whose hostname resolves to an internal address. The client
then sends GET requests to that address during discovery.
The same release fixes two related bypasses:
http://[::1]:6379/were not recognized asinternal, because the check kept the brackets from the URL host.
token_endpointandregistration_endpointfrom authorization servermetadata were not checked at all, and token requests follow redirects. A
malicious authorization server could make the client send POST requests to
an internal address.
The impact is client-side SSRF. Responses are not returned to the attacker
directly. Unauthenticated internal HTTP services are reachable. Cloud metadata
endpoints that require headers or IMDSv2 are largely unaffected.
The flaw was corrected in 3.7.0.
AuthorizationManager::newnow builds its HTTPclient with a DNS resolver that applies the address policy to every resolved
address, and checks every IP-literal URL and followed redirect against the same
policy. Loopback and private addresses are allowed only when the MCP server's
own URL names one of that class. Deployments that reach their authorization
server through a hostname that resolves to a private address should use
AuthorizationManager::new_allowing_private_addresses.Clients supplied through
new_with_oauth_http_clientare not covered by theresolved-address checks. Such clients must enforce their own outbound address
policy.
Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Unbounded response body buffering in Streamable HTTP clients
GHSA-c9f9-cp8h-jcj5 / RUSTSEC-2026-0462
More information
Details
Before 3.9.0, the built-in Streamable HTTP clients in rmcp read non-streaming
HTTP response bodies into memory with no size limit. Both the reqwest client
(
transport-streamable-http-client-reqwest) and the Unix socket client(
transport-streamable-http-client-unix-socket) were affected:application/jsonresponses to POST requests were read in full beforeparsing.
A malicious or compromised MCP server can answer with a body that never ends,
for example a chunked
application/jsonresponse that streams whitespace. Theclient buffers it until the process runs out of memory. This works during
initialize, before any authentication. On desktop or agent hosts, thisterminates the whole host application.
Server-sent event streams are not affected. Each event is already capped by
max_sse_event_size, and events are not accumulated.The flaw was corrected in 3.9.0. Successful JSON bodies are limited to 16 MiB
and non-success bodies to 64 KiB. Bytes are counted while streaming, after
decompression. An oversized
Content-Lengthis rejected before the body isread, and an oversized body is rejected with
StreamableHttpError::ResponseBodyTooLargeinstead of being truncated.If you cannot upgrade, use a custom
StreamableHttpClientthat enforces aresponse body limit, or connect only to trusted MCP servers.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Release Notes
modelcontextprotocol/rust-sdk (rmcp)
v3.9.0Compare Source
Added
Fixed
Other
v3.8.0Compare Source
Added
Fixed
v3.7.0Compare Source
Added
Fixed
Other
v3.6.0Compare Source
Added
Fixed
Other
v3.5.1Compare Source
Fixed
Other
v3.5.0Compare Source
Added
Fixed
Other
v3.4.1Compare Source
Fixed
Other
v3.4.0Compare Source
Added
Fixed
v3.3.0Compare Source
Added
Fixed
Other
v3.2.0Compare Source
Added
Fixed
v3.1.4Compare Source
Fixed
v3.1.3Compare Source
Fixed
Other
v3.1.2Compare Source
Fixed
Other
v3.1.1Compare Source
Fixed
Other
v3.1.0Compare Source
Added
Other
v3.0.1Compare Source
Other
v3.0.0Compare Source
Other
v2.2.0Compare Source
Added
Fixed
Configuration
π Schedule: (UTC)
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.