{"id":"CVE-2023-4782","aliases":["GHSA-h626-pv66-hhm7","GO-2023-2055"],"url":"https://o3.security/vulnerability/CVE-2023-4782","summary":"Terraform Allows Arbitrary File Write During Init Operation","details":"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.","published":"2023-09-08T17:04:33.242Z","modified":"2026-07-15T01:49:11.814691502Z","cvss":{"score":6.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/hashicorp/terraform","fixedVersion":"1.5.7"}],"fix":null,"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2023-27-terraform-allows-arbitrary-file-write-during-init-operation/58082"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4782.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4782"},{"type":"PACKAGE","url":"https://github.com/hashicorp/terraform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:11.814691502Z"}}