CVE-2024-58375 PUBLISHED

OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 16.08.2026 Updated: 16.08.2026

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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor opentofu
Product opentofu
Versions Default: unaffected
  • affected from 0 to 1.8.3 (excl.)
  • Version 1.8.3 is unaffected

References

Problem Types

  • Exposure of Sensitive System Information to an Unauthorized Control Sphere CWE