Skip to main content

OpenTofu EUVDEUVD-2026-59962

| CVE-2026-74797 LOW
Uncontrolled Resource Consumption (CWE-400)
2026-08-16 VulnCheck GHSA-3vh9-9frp-jhqv
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker hosts registry serving malicious .zip archive
  2. Delivery
    Social engineer operator to add attacker-controlled dependency
  3. Exploit
    Operator runs tofu init against configuration
  4. Execution
    OpenTofu fetches and passes archive to Go zip parser
  5. Persist
    Go zip parser enters excessive CPU loop
  6. Impact
    init process stalls, co-located processes degraded

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two concrete prerequisites must both be satisfied: first, the attacker must control a server or registry capable of serving .zip archives to OpenTofu during provider or module installation; second, the targeted operator must have already added a dependency in their OpenTofu configuration that points to the attacker-controlled source, and then must run tofu init. The attacker has no direct means of injecting the dependency - social engineering, dependency confusion, or a typosquatted package name must be used to achieve this. The CVSS 4.0 vector's AT:P (attack requirements: present) formalizes this precondition. Exploitation is scoped strictly to the tofu init execution phase and does not carry over to tofu plan or tofu apply. Configurations that source all providers and modules exclusively from trusted internal registries are not exploitable. Arbitrary code execution and data disclosure are explicitly ruled out by the vendor advisory.

Impact

The CVSS 4.0 score of 2.3 (AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N) accurately represents real-world risk. High attack complexity (AC:H) and a specific precondition (AT:P) reflect that the attacker must both serve the malicious archive and successfully coerce an operator into sourcing a dependency from the attacker-controlled registry before tofu init is run. User interaction (UI:P) is required in the form of this social engineering step. Impact is strictly limited to local availability degradation (VA:L) - CPU exhaustion on the initiating machine - with no confidentiality or integrity consequences explicitly ruled out by the vendor advisory. No EPSS data was provided in the source intelligence, and the vulnerability has not been added to CISA KEV, indicating no confirmed active exploitation. This is a low-priority finding warranting routine patching, not emergency response. The primary risk amplifier would be CI/CD pipelines that automatically run tofu init against externally sourced registries without prior dependency vetting.

Exploit ScenarioDerived

An attacker registers a typosquatted or dependency-confusion module on a public OpenTofu registry and publishes a .zip archive crafted to trigger Go's zip parser into consuming unbounded CPU cycles. After convincing a developer or CI pipeline - via a misleading README reference, a compromised upstream recommendation, or a typosquatted package name - to add the malicious source to their OpenTofu configuration, the next tofu init execution causes the operator's machine or build runner to enter high CPU saturation, stalling infrastructure provisioning pipelines. No public proof-of-concept exploit code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 16, 2026

Denial of service in OpenTofu's tofu init command allows an attacker who controls a provider or module registry to cause excessive CPU consumption on an operator's machine by serving a maliciously crafted .zip archive during dependency installation. All OpenTofu versions before 1.11.4 are affected; the root cause is a flaw in Go's standard library zip implementation, resolved in Go 1.25.6. No public exploit has been identified and this vulnerability is absent from CISA KEV; the low CVSS 4.0 score of 2.3 appropriately reflects the high complexity and mandatory social engineering prerequisite.

RemediationAI

Upgrade to OpenTofu v1.11.4, which resolves the vulnerability by compiling against Go 1.25.6. The upstream fix is available via commit f5d5cdf16615ea3c298e058b062951adb02805f3 and pull request https://github.com/opentofu/opentofu/pull/3689; the patched release version v1.11.4 is confirmed by the vendor advisory at https://github.com/opentofu/opentofu/security/advisories/GHSA-r92c-9c7f-3pj8. For teams unable to upgrade immediately, the vendor recommends reviewing all new module and provider dependencies before running tofu init and avoiding any registry or source outside organizational control. A more robust compensating control is to restrict tofu init in CI/CD pipelines to a pre-approved internal module mirror or registry proxy, which eliminates the attacker-controlled-source prerequisite entirely; the trade-off is reduced developer agility when onboarding external modules.

Affected VersionsENISA

OpenTofu 0 <1.11.4

Affected Packages

go github.com/opentofu/opentofu fix: 1.11.4
euvd opentofu fix: 1.11.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenTofu (CPE: cpe:2.3:a:opentofu:opentofu:*:*:*:*:*:*:*:*) is an open-source Infrastructure-as-Code fork of HashiCorp Terraform. Its tofu init command fetches and extracts provider and module packages distributed as .zip archives from configured registries. OpenTofu delegates zip extraction to Go's standard library, which prior to Go 1.25.6 was susceptible to CWE-400 (Uncontrolled Resource Consumption) when parsing specially crafted archive structures. Because tofu init executes before any operator review of downloaded dependency code, a malicious archive can trigger CPU exhaustion at the extraction stage - before any installed code actually runs. The fix in OpenTofu v1.11.4 is purely a Go runtime upgrade (to Go 1.25.6) rather than a change in OpenTofu's own logic.

Know when Opentofu gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.1 LOW

Network vector with high complexity and required user interaction to add attacker-controlled dependency; strictly availability-only impact with no confidentiality or integrity effect.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 16, 2026 - 14:01 EUVD

DescriptionCVE.org

OpenTofu versions before 1.11.4 contain a denial of service vulnerability in the tofu init command when processing maliciously-crafted .zip archives for provider or module packages. Attackers can cause excessive CPU usage by controlling .zip archive content served during dependency installation, degrading system performance and preventing timely completion of the init process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
growing Terraform-fork IaC tool, significant but not ubiquitous enterprise adoption
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy