Read the docs
TI-2024-38456 Aliases CVE-2024-58375GHSA-p8hv-x2cr-398f

OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation

Priority MEDIUM 44CWE-497Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-497.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00432 37th percentileScored 2026-11-07
Fix Fixed opentofu (opentofu): 1.8.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
opentofuopentofubefore 1.8.31.8.3Patch availableCNA
  • opentofu Vendoropentofu Affected before 1.8.3 Fixed in 1.8.3 Patch available CNA

Remediation

  • Fix · CNA opentofu (opentofu) Fixed in 1.8.3

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-58375
  2. 2026-10-03 Alias added: GHSA-p8hv-x2cr-398f

References

  • TI-2026-52560 OpenTofu before 1.11.7 Symlink Following Path Traversal CVSS 4.0HIGH 7.0
  • TI-2026-52561 OpenTofu before 1.11.4 Denial of Service via malicious zip CVSS 4.0LOW 2.3

Sources