{"cve":"CVE-2024-58375","nvd":{"published":"2026-08-16T14:16:53.627","modified":"2026-10-08T16:16:49.483","status":"Awaiting Analysis","description":"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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-497"],"references":["https://github.com/opentofu/opentofu/security/advisories/GHSA-wpr2-j6gr-pjw9","https://www.vulncheck.com/advisories/opentofu-before-secret-variable-leaking-via-static-evaluation"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:10.689564601+00:00"},"epss":{"cve":"CVE-2024-58375","score":0.00432,"percentile":0.37219,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-wpr2-j6gr-pjw9","url":"https://osv.dev/vulnerability/GHSA-wpr2-j6gr-pjw9","summary":"OpenTofu potential leaking of secret variable values when using static evaluation in v1.8","modified":"2026-08-17T03:55:42.801423615Z","packages":[{"ecosystem":"Go","name":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","ranges":[">=1.8.0 <1.8.3"],"fixed":["1.8.3"]}]},{"id":"GO-2024-3182","url":"https://osv.dev/vulnerability/GO-2024-3182","summary":"OpenTofu potential leaking of secret variable values when using static evaluation in v1.8 in github.com/opentofu/opentofu","modified":"2026-08-17T03:55:42.801423615Z","packages":[{"ecosystem":"Go","name":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","ranges":[">=1.8.0 <1.8.3"],"fixed":["1.8.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}