SECURITY & CVE TRACK RECORD

OpenTofu Security Advisories, CVEs & Patched Versions

Historical vulnerability disclosures, CVSS severity ratings, affected version ranges, and verified patch releases for OpenTofu.

Total Tracked Advisories
29
14 distinct CVE numbers
Critical & High Severity
1
3% of all disclosures
Latest Security Fix
v1.12.7
Read patch changelog →
Security Posture Status
Active Patches
Deterministic OSV.dev telemetry
Tracked Vulnerability Timeline (29)
GO-2026-6262 Aug 25, 2026
UNRATED

OpenTofu has high CPU usage when using K8S remote state backend or when parsing specifically crafted TLS certificates from untrusted or compromised servers in github.com/opentofu/opentofu

OpenTofu has high CPU usage when using K8S remote state backend or when parsing specifically crafted TLS certificates from untrusted or compromised servers in github.com/opentofu/opentofu

Vulnerable Range: 0 -> 1.11.9
Official Advisory Source ↗
GHSA-22w5-2fxg-vrwx Aug 20, 2026
LOW (CVSS 2.6)

OpenTofu has high CPU usage when using K8S remote state backend or when parsing specifically crafted TLS certificates from untrusted or compromised servers

### Impact Unauthenticated denial of service. ### Summary When OpenTofu performs requests against an untrusted (or compromised) third-party server or connects to an attacker-controlled server, the initial connection negotiation can produce high CPU usage, leading to possibl...

Vulnerable Range: 1.12.0-beta1 -> 1.12.2, 0 -> 1.11.9
Official Advisory Source ↗
🛡️ CVE-2026-74796 GHSA-wcmj-x466-56mm Jun 23, 2026
MEDIUM (CVSS 6.1)

OpenTofu: Provider cache installation follows root-module-controlled package directory symlink and writes outside the working tree

## Summary If a symlink already exists under the `.terraform/providers` directory where a provider package needs to be installed, `tofu init` would follow that symlink and install the new package content into it. If an attacker can coerce an operator into running `tofu init`...

Vulnerable Range: 1.11.0 -> 1.11.7, 0 -> 1.10.10
Official Advisory Source ↗
GHSA-q7j3-v8qv-22vq Jun 19, 2026
HIGH (CVSS 7.5)

OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL

### Impact Possible data exposure. #### Summary While downloading packages from a maliciously crafted URL, some git operations against that URL could allow arbitrary file read. This might allow disclosure of confidential information. #### Details OpenTofu relies on [go-getter...

Vulnerable Range: 0 -> 1.11.10, 1.12.0-beta1 -> 1.12.3
Official Advisory Source ↗
GHSA-pxh5-6rrc-8rjv May 20, 2026
LOW (CVSS 3.1)

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

### Impact Unauthenticated denial of service. ### Summary When installing provider or module packages from attacker-controlled servers, the server may cause `tofu init`to enter an infinite loop sending garbage data to that server. Those who depend on modules or providers se...

Vulnerable Range: 0 -> 1.11.8
Official Advisory Source ↗
GHSA-hw5x-4r37-72w7 Apr 14, 2026
LOW (CVSS 3.1)

OpenTofu has unbounded memory usage, high CPU usage, or deadlock in "tofu init" with maliciously-crafted dependency responses

### Impact Unauthenticated denial of service. ### Summary When installing module packages from attacker-controlled sources, `tofu init` may use unbounded memory, cause high CPU usage, or deadlock when encountering maliciously-crafted TLS certificate chains or tar archives. ...

Vulnerable Range: 0 -> 1.11.6
Official Advisory Source ↗
🛡️ CVE-2026-74797 GHSA-r92c-9c7f-3pj8 Jan 21, 2026
LOW (CVSS 3.1)

OpenTofu has High CPU usage in "tofu init" with maliciously-crafted module packages in .zip format

### Impact Unauthenticated denial of service. ### Summary When installing module packages from attacker-controlled sources, `tofu init` may cause high CPU usage when encountering maliciously-crafted `.zip` archives for either provider or module distribution packages. Those w...

Vulnerable Range: 0 -> 1.11.4
Official Advisory Source ↗
GHSA-mjcp-gpgx-ggcg Dec 09, 2025
MEDIUM (CVSS 5.9)

OpenTofu incorrectly validates excluded subdomain constraint in conjunction with TLS certificates containing wildcard SANs

When OpenTofu is acting as a TLS client authenticating a certificate chain provided by a TLS server, an excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard [SANs](https://en.wikipedia.org/wiki/Public_key_certificate#Subject_Alternative_...

Vulnerable Range: 0 -> 1.10.8
Official Advisory Source ↗
GHSA-w2jf-268q-mrvh Nov 06, 2025
LOW (CVSS 3.1)

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

### Impact Unauthenticated denial of service. ### Summary When installing module packages from attacker-controlled sources, `tofu init` may use unbounded memory, cause high CPU usage, or crash when encountering maliciously-crafted TLS certificate chains or tar archives. Th...

Vulnerable Range: 0 -> 1.10.7
Official Advisory Source ↗
🛡️ CVE-2024-58375 GHSA-wpr2-j6gr-pjw9 Oct 03, 2024
LOW (CVSS 3.7)

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

### Impact Users who have opted into static evaluation of module sources, versions, and backend configurations may be at risk of exposing sensitive variables and locals. This is a workflow that should not be possible and explicitly show errors. ### Workarounds Check that you...

Vulnerable Range: 1.8.0 -> 1.8.3
Fix Version: 1.8.3 (Read Notes →)
Official Advisory Source ↗