Advisory record · GHSA-wpr2-j6gr-pjw9

OpenTofu potential leaking of secret variable values when using static evaluation in v1.8

CVSS 8.7 HighEPSS 0.0043 · 38th percentile

Published by the GitHub Advisory Database at 3 Oct 2024, 16:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/opentofu/opentofuGo>=1.8.0, <1.8.31.8.3
Identifiers
GHSA-wpr2-j6gr-pjw9 · CVE-2024-58375 · GO-2024-3182
Weakness (CWE)
CWE-200 · CWE-497
Published
3 Oct 2024
Updated
17 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

OpenTofu versions 1.8.0 up to but not including 1.8.3 may leak values of sensitive variables and locals when users have opted into static evaluation of module sources, versions, and backend configurations. The source gives few details on how an attacker would trigger or observe the leak. Upgrade to OpenTofu 1.8.3 or later, which adds explicit errors for this case; until then, check that sensitive variables are not used in module sources, versions, or backend configurations.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0043, the 38th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:53 UTC First seen by agentprime
  2. 31 Oct 2026, 14:53 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.