Vulnerability in Opentofu

CVE-2024-58375

OpenTofu versions 1.8.0 through 1.8.2 do not properly restrict sensitive variables and locals when users have opted into static evaluation of module sources, versions, and backend configurations. As a result, values marked as sensitive may be exposed through these configuration elements instead of producing an error. This is fixed in OpenTofu 1.8.3, which adds explicit errors to prevent the use of sensitive values in these contexts.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-58375?
CVE-2024-58375 is a high-severity vulnerability in Opentofu, classified under Exposure of Sensitive System Information to an Unauthorized Control Sphere. CVSS score: 7.5/10. Published 2026-08-16.
How severe is CVE-2024-58375?
High severity. CVSS v3 base score is 7.5 out of 10.