{"id":"CVE-2024-58375","published":"2026-08-16T13:14:03Z","modified":"2026-10-08T15:21:10Z","title":"OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation","vendor":"opentofu","product":"opentofu","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00432,"percentile":0.3835,"provenance":"source"},"cwes":[{"id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere"}],"references":[{"url":"https://github.com/opentofu/opentofu/security/advisories/GHSA-wpr2-j6gr-pjw9","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/opentofu-before-secret-variable-leaking-via-static-evaluation","tags":["third-party-advisory"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.67},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"opentofu","affectedVersions":[{"vendor":"opentofu","product":"opentofu","versions":["< 1.8.3"]}],"fixedVersions":[{"vendor":"opentofu","product":"opentofu","versions":["1.8.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-17T15:35:43.732346Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/opentofu/opentofu","vulnerableRanges":[">=1.8.0, <1.8.3"],"patched":["1.8.3"],"from":["GO-2024-3182"],"provenance":"source"}],"summary":{"text":"OpenTofu versions 1.8.0 through 1.8.2 fail to properly restrict sensitive variables and locals when static evaluation is enabled for module sources, versions, and backend configurations, so values marked sensitive can be exposed through those elements instead of raising an error. An attacker with network access and no privileges or user interaction can exploit this, provided the user has opted into static evaluation, and the flaw affects confidentiality only.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:59Z"},"euvd":{"id":"EUVD-2024-55722","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-58375","published":"2026-08-16","fixed":"1.8.3","kev":false},{"cve":"CVE-2026-74797","published":"2026-08-16","fixed":"1.11.4","kev":false},{"cve":"CVE-2026-74796","published":"2026-08-16","fixed":"1.11.7","kev":false,"link":{"from":"CVE-2024-58375","to":"CVE-2026-74796","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/opentofu/opentofu","fromFixed":"1.8.3","toFixed":"1.10.10","daysApart":0}]}}],"package":"Go:github.com/opentofu/opentofu"}}