Advisory record · GHSA-pxh5-6rrc-8rjv

OpenTofu: Excessive resource usage in "tofu init" when installing dependencies from attacker-controlled server

CVSS 3.1 Low

Published by the GitHub Advisory Database at 20 May 2026, 15:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/opentofu/opentofuGo<1.11.81.11.8
Identifiers
GHSA-pxh5-6rrc-8rjv · GO-2026-5558
Weakness (CWE)
CWE-835
Published
20 May 2026
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.11.8 are vulnerable to excessive resource usage during "tofu init" when it installs providers or modules from an attacker-controlled HTTP/2 server. An attacker who controls such a server and can get an operator to add a dependency from it can cause tofu init to loop indefinitely, causing denial of service. Upgrade to OpenTofu 1.11.8 or later; for earlier versions, review new dependencies before adding them and fetch artifacts outside OpenTofu where possible.

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.