Vulnerability · Published Aug 16, 2026 · Assigned by VulnCheck
CVE-2024-58375OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation
High 7.5
In plain English
A high-severity security flaw in opentofu from opentofu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/opentofu/opentofu | 1.8.3 | GO-2024-3182 |
| Go | github.com/opentofu/opentofu | 1.8.3 | GHSA-wpr2-j6gr-pjw9 |
Affected products (as reported)
Weakness: CWE-497 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory (GHSA-wpr2-j6gr-pjw9) vendor-advisory
- VulnCheck Advisory: OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation third-party-advisory