CVE-2024-58375

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGithub.com/opentofu/opentofu
PublishedAug 16, 2026
First seenAug 16, 2026
Weakness typeCWE-497CWE-497

How to fix

Update
  • github.com/opentofu/opentofu1.8.3 or later

Affected products

ProductAffected versionsFixed in
github.com/opentofu/opentofuGo1.8.0 ≤ v < 1.8.31.8.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.