Skip to main content

terraform-mcp-server EUVDEUVD-2026-49940

| CVE-2026-16496 HIGH
Session Fixation (CWE-384)
2026-07-28 HashiCorp GHSA-4crw-p722-vr7h
8.9
CVSS 3.1 · Vendor: HashiCorp
Share

Severity by source

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

Network-reachable HTTP transport (AV:N) but requires stealing a victim session ID (AC:H) with no attacker account (PR:N); cross-user credential misuse changes scope (S:C) with high confidentiality/integrity over managed infrastructure.

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

Primary rating from Vendor (HashiCorp).

CVSS VectorVendor: HashiCorp

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

Lifecycle Timeline

3
Patch available
Jul 28, 2026 - 19:02 EUVD
Analysis Generated
Jul 28, 2026 - 18:56 vuln.today
CVE Published
Jul 28, 2026 - 17:57 cve.org
HIGH 8.9

DescriptionCVE.org

The terraform-mcp-server before version 1.1.0 is vulnerable to an authorization bypass in the streamable-HTTP stateful transport mode that may allow a user who obtains another user's MCP session ID to have their tool calls executed using that user's Terraform credentials. This vulnerability, CVE-2026-16496, is fixed in terraform-mcp-server 1.1.0.

AnalysisAI

Authorization bypass in HashiCorp's terraform-mcp-server (versions 0.3.0 through 1.0.x) lets an attacker who obtains another user's MCP session identifier execute their own tool calls under the victim's Terraform credentials when the server runs in streamable-HTTP stateful transport mode. Rooted in a session fixation weakness (CWE-384), the flaw carries a CVSS 8.9 with a scope change, meaning cross-user credential misuse against managed infrastructure. No public exploit identified at time of analysis; EPSS is low (0.27%) and CISA SSVC records exploitation as none, indicating no observed active exploitation.

Technical ContextAI

The Model Context Protocol (MCP) server for Terraform exposes Terraform tooling to LLM/agent clients over a transport layer. The vulnerable configuration is the streamable-HTTP 'stateful' transport, which maintains per-user server sessions keyed by an MCP session ID. Because that session ID alone is treated as sufficient to bind tool invocations to a user's Terraform credentials, an actor who learns or reuses a valid session ID is authorized as that user - the CWE-384 (Session Fixation) root cause: session identifiers are not adequately bound to the authenticated principal or otherwise protected against reuse. The affected component is identified in CPE as cpe:2.3:a:hashicorp:tooling:*:*:*:*:*:*:*:* (HashiCorp Tooling), consistent with the terraform-mcp-server codebase.

RemediationAI

Vendor-released patch: 1.1.0 - upgrade terraform-mcp-server to 1.1.0 or later, which fixes CVE-2026-16496 as described in HashiCorp HCSEC-2026-23 (https://discuss.hashicorp.com/t/hcsec-2026-23-multiple-vulnerabilities-impacting-hashicorp-terraform-mcp-server/77606). If immediate upgrade is not possible, stop using the streamable-HTTP stateful transport mode (switch to a stateless or non-shared transport, or run isolated single-user instances) so session IDs cannot be reused across users; the trade-off is loss of persistent multi-user session state. Additionally restrict network exposure of the MCP HTTP endpoint to trusted clients only and place it behind an authenticated, TLS-terminating reverse proxy to reduce the chance of session-ID interception, accepting added deployment complexity. Rotate and invalidate any potentially exposed session identifiers after upgrading.

CVE-2017-12965 CRITICAL POC
9.8 Aug 23

Session fixation vulnerability in Apache2Triad 1.5.4 allows remote attackers to hijack web sessions via the PHPSESSID pa

CVE-2025-28242 CRITICAL POC
9.8 Apr 18

Improper session management in the /login_ok.htm endpoint of DAEnetIP4 METO v1.25 allows attackers to execute a session

CVE-2022-40916 CRITICAL POC
9.8 Feb 06

Tiny File Manager v2.4.7 and below is vulnerable to session fixation. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2025-45949 CRITICAL POC
9.8 Apr 28

A critical vulnerability was found in PHPGurukul User Registration & Login and User Management System V3.3 in the /login

CVE-2023-48929 CRITICAL POC
9.8 Dec 08

Franklin Fueling Systems System Sentinel AnyWare (SSA) version 1.6.24.492 is vulnerable to Session Fixation. Rated criti

CVE-2023-41012 CRITICAL POC
9.8 Sep 05

An issue in China Mobile Communications China Mobile Intelligent Home Gateway v.HG6543C4 allows a remote attacker to exe

CVE-2023-31498 CRITICAL POC
9.8 May 11

A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex

CVE-2022-3269 CRITICAL POC
9.8 Sep 23

Session Fixation in GitHub repository ikus060/rdiffweb prior to 2.4.7. Rated critical severity (CVSS 9.8), this vulnerab

CVE-2021-39290 CRITICAL POC
9.8 Aug 23

Certain NetModule devices allow Limited Session Fixation via PHPSESSID. Rated critical severity (CVSS 9.8), this vulnera

CVE-2020-11729 CRITICAL POC
9.8 Apr 15

An issue was discovered in DAViCal Andrew's Web Libraries (AWL) through 0.60. Rated critical severity (CVSS 9.8), this v

CVE-2019-18418 CRITICAL POC
9.8 Oct 24

clonos.php in ClonOS WEB control panel 19.09 allows remote attackers to gain full access via change password requests be

CVE-2018-18925 CRITICAL POC
9.8 Nov 04

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." s

Share

EUVD-2026-49940 vulnerability details – vuln.today

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