Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Network-reachable header injection needs no privileges or interaction (AV:N/AC:L/PR:N/UI:N); leaking the token to a separate Consul system is a scope change with high confidentiality but no integrity/availability impact.
Primary rating from Vendor (HashiCorp).
CVSS VectorVendor: HashiCorp
Lifecycle Timeline
3DescriptionCVE.org
In consul-mcp-server, versions 0.1.0 up to 0.1.3 did not restrict how the Consul backend address was supplied, allowing a connected client to override the server's configured Consul address via a request header. This may allow a malicious client to redirect the server's Consul API traffic to an attacker-controlled endpoint, potentially exfiltrating the Consul token configured on the server. This vulnerability, CVE-2026-16328, is fixed in consul-mcp-server 0.1.4.
AnalysisAI
Server-Side Request Forgery in HashiCorp's consul-mcp-server 0.1.0 through 0.1.3 lets a connected client override the server's configured Consul backend address through an untrusted request header, redirecting the server's Consul API calls to an attacker-controlled endpoint and exfiltrating the privileged Consul token held by the server. The flaw carries a CVSS 8.6 (scope-changed, high confidentiality impact) and is fixed in 0.1.4; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.
Technical ContextAI
consul-mcp-server is a Model Context Protocol (MCP) server that brokers requests from MCP clients (typically LLM agents/tools) to a HashiCorp Consul backend, authenticating to Consul with a server-side token. The root cause is CWE-918 (SSRF): the destination Consul address is trusted from a client-supplied request header rather than being pinned to the operator's configured value, so the server can be coerced into making outbound API calls to an arbitrary host. Because the server attaches its configured Consul token to those calls, redirecting the destination causes the secret token to be delivered to whatever endpoint the attacker names. The affected component is identified by CPE cpe:2.3:a:hashicorp:tooling:*, and HashiCorp tracks it in advisory HCSEC-2026-24.
RemediationAI
Vendor-released patch: consul-mcp-server 0.1.4 - upgrade to 0.1.4 or later, which restricts the Consul backend address to the server's configured value and ignores client-supplied overrides; see HashiCorp advisory HCSEC-2026-24 at https://discuss.hashicorp.com/t/hcsec-2026-24-multiple-vulnerabilities-impacting-hashicorp-consul-mcp-server/77612. Where immediate upgrade is not possible, restrict network access to the MCP server so only trusted clients can reach it and place it behind authentication, strip or reject the header used to override the Consul address at a reverse proxy, and use egress filtering to allow the server to reach only the legitimate Consul address (side effect: egress allowlisting must be updated if the Consul endpoint changes). As a defensive measure, rotate the configured Consul token after patching in case it was already exposed, and scope that token to least privilege to limit the blast radius of any leak.
Credential reuse in Terraform MCP Server allows cross-tenant token leakage, enabling unauthorized tool execution on beha
Cross-session token leakage in HashiCorp consul-mcp-server 0.1.0 through 0.1.3 allows one client's Consul authentication
Arbitrary file read in HashiCorp Vault Secrets Operator versions 1.3.0 through 1.4.1 lets a low-privileged Kubernetes te
Authorization bypass in HashiCorp's terraform-mcp-server (versions 0.3.0 through 1.0.x) lets an attacker who obtains ano
Server-side request forgery in HashiCorp terraform-mcp-server before 1.1.0 allows unauthenticated remote attackers to re
Vault secret values leak into error messages, log output, and Nomad task events in HashiCorp consul-template due to impr
Arbitrary file read vulnerability in HashiCorp go-getter library versions up to 1.8.5 enables unauthenticated remote att
Sandbox path bypass in consul-template before 0.42.0 allows local authenticated users to read files outside the intended
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-50466
GHSA-5h6c-295f-7pp3