CVE-2023-4782
published medium CVSS 3.1 · 6.3Terraform Allows Arbitrary File Write During Init Operation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HashiCorp | — | Terraform1.0.8 to < 1.5.7 · Other versions: unaffected · Platforms: Windows, MacOS, Linux, x86, ARM, 64 bit, 32 bit | Affected | Not stated | HashiCorp |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- HashiCorp · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HashiCorp | Terraform | 1.0.8 to < 1.5.7 (affected · semver)Default: unaffected | HashiCorp · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
3HashiCorp · cna
Terraform Allows Arbitrary File Write During Init Operation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 59e9f56c814965a96273df9c48f30494fd8dffaf692d91ac69a76995abf1bc4d
- Ingested
- 23 Sep 2026, 08:13:47 UTC
- Source record
- Official CVE record