{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-4782","published":"2023-09-08T18:15:07.707000Z","last_modified":"2026-06-17T06:38:35.263000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:hashicorp:terraform:*:*:*:*:*:-:*:*","part":"a","vendor":"hashicorp","product":"terraform","version_start_including":"1.0.8","version_end_excluding":"1.5.7"}],"cpes_truncated":false,"vendors":["hashicorp"],"products":["hashicorp/terraform"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00353,"percentile":0.2139,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h626-pv66-hhm7","ecosystem":"Go","name":"github.com/hashicorp/terraform","purl":"pkg:golang/github.com/hashicorp/terraform","ranges":[{"introduced":"1.0.8","fixed":"1.5.7"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-2055","ecosystem":"Go","name":"github.com/hashicorp/terraform","purl":"pkg:golang/github.com/hashicorp/terraform","ranges":[{"introduced":"1.0.8","fixed":"1.5.7"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2023-4782/","html_en":"/en/cve/CVE-2023-4782/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-4782","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-4782"},"untrusted":{"vendor_name":"Hashicorp","product_name":"Terraform","desc_en":"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.","affected":[{"untrusted_vendor":"HashiCorp","untrusted_product":"Terraform","versions":[]}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2023-27-terraform-allows-arbitrary-file-write-during-init-operation/58082","tags":["Vendor Advisory"]}]}}