CVE-2024-58375
OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation
- State
- Published
- Severity
- 8.7 High
- Published
- Aug 16, 2026
- Updated
- Oct 8, 2026
- Reserved
- Aug 16, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
Affected Products
| Product | Versions |
|---|---|
opentofuopentofu |
|
References
- GitHub Security Advisory (GHSA-wpr2-j6gr-pjw9)vendor-advisory
- VulnCheck Advisory: OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluationthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.