Moderate severityNVD Advisory· Published Sep 8, 2023· Updated Sep 26, 2024
Terraform Allows Arbitrary File Write During Init Operation
CVE-2023-4782
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/hashicorp/terraformGo | >= 1.0.8, < 1.5.7 | 1.5.7 |
Affected products
2Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- github.com/advisories/GHSA-h626-pv66-hhm7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-4782ghsaADVISORY
- discuss.hashicorp.com/t/hcsec-2023-27-terraform-allows-arbitrary-file-write-during-init-operation/58082ghsaWEB
- github.com/hashicorp/terraform/commit/0f2314fb62193c4be94328cc026fcb7ec1e9b893ghsaWEB
- github.com/hashicorp/terraform/pull/33745ghsaWEB
- github.com/hashicorp/terraform/releases/tag/v1.5.7ghsaWEB
News mentions
0No linked articles in our index yet.