Advisory record · GHSA-w2jf-268q-mrvh

OpenTofu affected denials of service in "tofu init" with maliciously-crafted module package responses

CVSS 3.1 Low

Published by the GitHub Advisory Database at 6 Nov 2025, 15:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/opentofu/opentofuGo<1.10.71.10.7
Identifiers
GHSA-w2jf-268q-mrvh · GO-2025-4101
Weakness (CWE)
CWE-1395
Published
6 Nov 2025
Updated
10 Sept 2026

Machine-written summary

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

OpenTofu versions before 1.10.7 are vulnerable to denial of service during "tofu init" when it installs modules or providers from attacker-controlled sources. An unauthenticated attacker who controls a TLS certificate chain or a module tar archive can cause excessive memory use, high CPU use, or a crash, but cannot execute code or disclose data. Upgrade to OpenTofu 1.10.7. For older 1.9 and 1.8 releases, which have no fix, review new dependencies before adding them to the configuration.

Written 1 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
3.1 Low 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:14 UTC First seen by agentprime
  2. 31 Oct 2026, 14:14 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.