CVE-2024-58375opentofu
High 8.7 No auth needed
Follow: this CVE · opentofu · opentofu We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 29
- Auth required
- No
- Published
- Aug 16, 2026
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-497
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for opentofu.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/opentofu/opentofu |
≥ 1.8.0 < 1.8.3 |
1.8.3 |
go get github.com/opentofu/opentofu@v1.8.3 |
| Go | github.com/opentofu/opentofu |
≥ 1.8.0 < 1.8.3 |
1.8.3 |
go get github.com/opentofu/opentofu@v1.8.3 |
Per OSV / GitHub Advisories (GHSA-wpr2-j6gr-pjw9, GO-2024-3182). Check the version in your lockfile before upgrading.
Affected products
- opentofu · opentofu
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.