Skip to main content

consul-mcp-server EUVDEUVD-2026-50469

| CVE-2026-16326 CRITICAL
Exposure of Data Element to Wrong Session (CWE-488)
2026-07-29 HashiCorp GHSA-6c5r-pj95-xvqv
10.0
CVSS 3.1 · Vendor: HashiCorp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach shared stateless MCP server
  2. Delivery
    Victim client submits Consul token
  3. Exploit
    Token leaks into shared session state
  4. Execution
    Attacker issues MCP request
  5. Persist
    Server reuses victim's token
  6. Impact
    Read/modify Consul under victim identity

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V14 - Data Protection Exposure of data element to wrong session
Exploitation Conditions

Exploitation requires the consul-mcp-server (versions 0.1.0-0.1.3) to be deployed in stateless mode serving multiple clients, AND at least one other client to have already supplied a valid Consul authentication token that lands in the improperly-isolated shared state; the attacker then reuses that token via ordinary MCP requests. Limiting factors: single-client or stateful/session-scoped deployments are not exploitable, the attacker must have network reachability to the same server instance, and the value obtained is bounded by the victim token's Consul ACL policy scope. The attacker itself needs no credentials (PR:N), but the attack is not possible against a default single-tenant or stateful configuration.

Impact

The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L = 10.0) presents this as a maximum-severity, remotely exploitable, unauthenticated issue, and the scope change plus C:H/I:H is justified because a stolen Consul token yields the victim's authority. However, the raw 10.0 overstates practical ubiquity of the attack: exploitation is conditioned on the server being deployed in stateless mode AND on another legitimate client having supplied a valid token that lands in the shared state - the attacker does not fully control this timing, which in CVSS 4.0 terms is an Attack Requirement (AT:P). No EPSS score, POC, or KEV entry was provided, so there is no evidence of active or automated exploitation; the risk is currently theoretical-but-serious. Net: treat as a genuine high priority for anyone running consul-mcp-server in stateless mode with multiple clients, but the very low real-world deployment footprint of this new tooling tempers fleet-wide urgency. Note conflict to verify: PR:N describes the attacker needing no credentials, yet the attack materially depends on a victim client's token being present - defenders should read PR:N as 'attacker needs no auth' not 'no preconditions.'

Exploit ScenarioDerived

An attacker connects as a client to a shared consul-mcp-server running in stateless mode alongside legitimate users. After a victim client authenticates with its Consul ACL token, the attacker issues its own MCP requests and the server reuses the victim's leaked token, letting the attacker read Consul KV/secrets and perform write operations under the victim's identity. No public POC is known, and the attack requires the attacker to reach the same multi-client stateless server while a victim token is resident in shared state.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 29, 2026

Cross-session token leakage in HashiCorp consul-mcp-server 0.1.0 through 0.1.3 allows one client's Consul authentication token to bleed into requests issued by other clients when the server runs in stateless mode, effectively enabling an attacker to act against Consul with a victim's credentials. HashiCorp rated this CVSS 10.0 (scope-changed) because the borrowed token grants the attacker the victim's full Consul read/write authority across a trust boundary. There is no public exploit identified at time of analysis, and it is not listed in CISA KEV; the fix is consul-mcp-server 0.1.4.

RemediationAI

Vendor-released patch: upgrade to consul-mcp-server 0.1.4, which properly isolates per-session authentication state; this is the primary and complete fix (see HCSEC-2026-24, https://discuss.hashicorp.com/t/hcsec-2026-24-multiple-vulnerabilities-impacting-hashicorp-consul-mcp-server/77612). If you cannot upgrade immediately, stop running the server in stateless mode and switch to a stateful/session-isolated deployment so tokens are bound to their originating connection - the trade-off is higher per-connection resource use and loss of the horizontal-scaling benefit stateless mode provides. As an additional compensating control, run a dedicated server instance per client or per trust boundary so no shared state is co-mingled, and scope each Consul ACL token to least privilege so that any leaked token grants minimal authority; the side effect is more operational overhead and more tokens to manage. Rotate any Consul ACL tokens that may have transited an affected stateless deployment.

Affected VersionsENISA

Tooling 0.1.0 <0.1.4

Affected Packages

euvd tooling fix: 0.1.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

consul-mcp-server is HashiCorp's Model Context Protocol (MCP) server that exposes HashiCorp Consul operations to LLM/agent clients. In 'stateless' mode the server does not maintain per-connection session objects, and the flaw is that authentication state - specifically the Consul ACL token supplied by a client - was not properly isolated to the originating session. This is CWE-488 (Exposure of Data Element to Wrong Session): a token placed in shared or improperly-scoped state is subsequently read and used to authorize a different client's request. Because the leaked element is a Consul ACL token, the impact propagates into Consul itself (the CVSS scope change, S:C), where the token's granted policies determine what the attacker can read or modify.

Know when Tooling gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (HashiCorp) PRIMARY 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
vuln.today AI 8.9 HIGH

Attacker needs no auth (PR:N) and network reach (AV:N), but success depends on a victim token being resident in stateless shared state (AC:H); leaked Consul token crosses into Consul (S:C, C:H/I:H, A:L).

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:N

Primary rating from Vendor (HashiCorp).

CVSS VectorVendor: HashiCorp

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
Jul 29, 2026 - 20:02 EUVD
CVE Published
Jul 29, 2026 - 18:40 cve.org
CRITICAL 10.0

DescriptionCVE.org

In consul-mcp-server, versions 0.1.0 up to 0.1.3 did not properly isolate session state in stateless mode, which may allow one client's Consul authentication token to be used for subsequent requests from other clients. This vulnerability (CVE-2026-16326) is fixed in consul-mcp-server 0.1.4.

Executive ViewAI

Why It Matters

HashiCorp consul-mcp-server versions 0.1.0-0.1.3 leak Consul authentication tokens across client sessions when run in stateless mode, allowing attackers to execute infrastructure commands with victim credentials. Organizations deploying affected versions face immediate risk of unauthorized infrastructure changes, configuration theft, and lateral movement to sensitive systems. The vulnerability breaks authentication isolation between clients in the shared Consul infrastructure.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
new niche HashiCorp AI-integration tooling, minimal production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy