7.8

CVE-2023-4782: Terraform Allows Arbitrary File Write During Init Operation

Modified
AliasesGHSA-h626-pv66-hhm7GO-2023-2055
Published 08-09-2023Last modified 26-09-2024

Vulnerability summary

CVE-2023-4782 is a high (CVSS 7.8) vulnerability in hashicorp terraform. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 08-09-2023
    PublishedVulnerability first disclosed.
  2. 26-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.27% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/hashicorp1 product
  • terraform≥ 1.0.8, < 1.5.7
Hashicorp1 product

2 vendors · 2 products

References

7 links