Description
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.
Published: 2026-07-29
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in consul‑mcp‑server allows a client that has established a connection to the server to supply a custom request header that overrides the server’s configured Consul backend address. Because the server does not validate this header, it can redirect internal Consul API traffic to an arbitrary endpoint controlled by the attacker. This redirects the traffic that carries the Consul token embedded in those requests, enabling the attacker to exfiltrate that token and compromise the credentials used by the server.

Affected Systems

HashiCorp’s consul‑mcp‑server versions 0.1.0 through 0.1.3 are affected. The vulnerability does not extend to later releases that enforce address restrictions.

Risk and Exploitability

The CVSS score of 8.6 indicates a high severity based on confidentiality impact, and the EPSS score of less than 1 % shows a low publicly known exploitation probability. The issue is not listed in the CISA KEV catalog. Attackers would need to be a client with network connectivity to the consul‑mcp‑server and must send a crafted request header; the flaw is therefore exploitable from within the same trusted network or through an authenticated client access channel.

Generated by OpenCVE AI on August 2, 2026 at 07:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade consul‑mcp‑server to version 0.1.4 or later, where the backend address header is validated and restricted.
  • If upgrading is delayed, configure the server to reject or ignore the request header that specifies the Consul backend address, or enforce a whitelist of allowed backend URLs.
  • Continuously monitor outbound Consul API traffic and authentication token usage for anomalous patterns that may indicate exploitation attempts.

Generated by OpenCVE AI on August 2, 2026 at 07:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp tooling
Vendors & Products Hashicorp
Hashicorp tooling

Wed, 29 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title consul-mcp-server vulnerable to server side request forgery leading to token exposure
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

Hashicorp Tooling
cve-icon MITRE

Status: PUBLISHED

Assigner: HashiCorp

Published:

Updated: 2026-07-29T19:11:05.959Z

Reserved: 2026-07-20T17:50:23.169Z

Link: CVE-2026-16328

cve-icon Vulnrichment

Updated: 2026-07-29T19:11:00.399Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T19:16:45.060

Modified: 2026-07-30T14:08:23.057

Link: CVE-2026-16328

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T08:00:04Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)