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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| opentofu | opentofu | < 1.8.3 | 1.8.3 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/opentofu/opentofu | >= 1.8.0, < 1.8.3 | 1.8.3 | GHSA-wpr2-j6gr-pjw9 |
Advisories 1
- WID-SEC-2026-2864 OpenTofu: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 16, 2026
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