DHI-lmsq-4geg-sp7f-6igp

Source
https://scout.docker.com/v/DHI-lmsq-4geg-sp7f-6igp
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-lmsq-4geg-sp7f-6igp.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-lmsq-4geg-sp7f-6igp
Upstream
  • GHSA-5p52-q7pq-9fq2
Published
2026-11-11T22:00:56Z
Modified
2026-11-20T18:30:24Z
Summary
From 2.0.0 until 3.7.0, the rmcp OAuth client decided whether it may fetch an
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:

  • Bracketed IPv6 literals such as http://[::1]:6379/ were not recognized as internal, because the check kept the brackets from the URL host.
  • token_endpoint and registration_endpoint from authorization server metadata 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::new now builds its HTTP client 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_client are not covered by the resolved-address checks. Such clients must enforce their own outbound address policy.

References

Affected packages

Docker Hardened Images:Debian:13
apollo-mcp-server-1

Package

Name
apollo-mcp-server-1
Purl
pkg:deb/dhi/apollo-mcp-server-1

Affected ranges

Affected versions

1.*
1.20.0-1
1.20.0-2
1.20.0-3
1.20.0-4
1.20.0-6
1.20.0-7
1.20.0-8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-lmsq-4geg-sp7f-6igp.json"
apollo-mcp-server-2

Package

Name
apollo-mcp-server-2
Purl
pkg:deb/dhi/apollo-mcp-server-2

Affected ranges

Affected versions

2.*
2.0.0-0
2.0.0-1
2.1.0-0
2.1.0-1
2.1.0-2
2.1.0-4
2.1.0-5
2.1.0-6
2.2.1-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-lmsq-4geg-sp7f-6igp.json"
apollo-mcp-server

Package

Name
apollo-mcp-server
Purl
pkg:deb/dhi/apollo-mcp-server

Affected ranges

Affected versions

1.*
1.17.0-0
1.18.0-0
1.19.0-0
1.20.0-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-lmsq-4geg-sp7f-6igp.json"
mise

Package

Name
mise
Purl
pkg:deb/dhi/mise

Affected ranges

Affected versions

2026.*
2026.9.10-0
2026.9.18-0
2026.10.0-0
2026.10.1-0
2026.10.3-0
2026.10.4-0
2026.10.5-0
2026.10.7-0
2026.10.8-0
2026.10.9-0
2026.10.10-0
2026.10.12-0
2026.10.13-0
2026.10.14-0
2026.10.15-0
2026.10.17-0
2026.10.18-0
2026.10.19-0
2026.10.20-0
2026.10.21-0
2026.10.22-0
2026.10.23-0
2026.10.24-0
2026.10.25-0
2026.11.0-0
2026.11.1-0
2026.11.2-0
2026.11.3-0
2026.11.4-0
2026.11.5-0
2026.11.6-0
2026.11.7-0
2026.11.8-0
2026.11.9-0
2026.11.10-0
2026.11.11-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-lmsq-4geg-sp7f-6igp.json"