Terraform Allows Arbitrary File Write During Init Operation

MonitorData or code tampering with local access.
6.3MEDIUM

CVE-2023-4782

Key Information:

Vendor

Hashicorp

Status
CVE ID
CVE ID:
CVE-2023-4782
Vendor
CVE Published:
8 September 2023
Fixed in
Fixed in:
1.5.7

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
Terraform Windows 1.0.8 to below 1.5.7 is vulnerable
Install Terraform Windows 1.5.7 or later
Read the vendor advisory ↗
2Why it's rated "Monitor"
  • Its CVSS severity is medium (6.3).

What is CVE-2023-4782?

Terraform version 1.0.8 through 1.5.6 allows arbitrary file write during the init operation if run on maliciously crafted Terraform configuration. This vulnerability is fixed in Terraform 1.5.7.

References

Cross-Tenant Credential Reuse in HashiCorp Terraform MCP Server

CVE-2026-16498
HashicorpTooling10CRITICAL

Denial of Service Vulnerability in HashiCorp Vault and Vault Enterprise

CVE-2025-12044
HashicorpVault👾7.5HIGH

Excessive Resource Consumption Vulnerability in HashiCorp Vault

CVE-2025-6203
HashicorpVault7.5HIGH
View more Hashicorp vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
High
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
Required
Scope:
Changed
.