GoWorst: High9 advisories

github.com/opentofu/opentofu: known vulnerabilities

github.com/opentofu/opentofu has 9 reviewed security advisories in the GitHub Advisory Database — 1 high, 2 moderate, 6 low. The most recent was published 2026-08-20. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/opentofu/opentofu versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/opentofu/opentofu

Upgrade github.com/opentofu/opentofu to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/opentofu/opentofu@1.11.9 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (9)

OpenTofu has high CPU usage when using K8S remote state backend or when parsing specifically crafted TLS certificates from untrusted or compromised servers Low 2.6 CWE-400 — Affected: before 1.11.9. Fixed in 1.11.9. Published 2026-08-20. GHSA-22w5-2fxg-vrwx
OpenTofu: Provider cache installation follows root-module-controlled package directory symlink and writes outside the working tree Moderate 6.1 CWE-61 — Affected: before 1.10.10. Fixed in 1.10.10. Published 2026-06-23. GHSA-wcmj-x466-56mm · CVE-2026-74796
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL High 7.5 CWE-1395 — Affected: from 1.12.0-beta1 up to 1.12.3. Fixed in 1.12.3. Published 2026-06-19. GHSA-q7j3-v8qv-22vq
OpenTofu: Excessive resource usage in "tofu init" when installing dependencies from attacker-controlled server Low 3.1 CWE-835 — Affected: before 1.11.8. Fixed in 1.11.8. Published 2026-05-20. GHSA-pxh5-6rrc-8rjv
OpenTofu has unbounded memory usage, high CPU usage, or deadlock in "tofu init" with maliciously-crafted dependency responses Low 3.1 CWE-1395 — Affected: before 1.11.6. Fixed in 1.11.6. Published 2026-04-14. GHSA-hw5x-4r37-72w7
OpenTofu has High CPU usage in "tofu init" with maliciously-crafted module packages in .zip format Low 3.1 CWE-1395 — Affected: before 1.11.4. Fixed in 1.11.4. Published 2026-01-21. GHSA-r92c-9c7f-3pj8 · CVE-2026-74797
OpenTofu incorrectly validates excluded subdomain constraint in conjunction with TLS certificates containing wildcard SANs Moderate 5.9 CWE-1395 CWE-296 — Affected: before 1.10.8. Fixed in 1.10.8. Published 2025-12-09. GHSA-mjcp-gpgx-ggcg
OpenTofu affected denials of service in "tofu init" with maliciously-crafted module package responses Low 3.1 CWE-1395 — Affected: before 1.10.7. Fixed in 1.10.7. Published 2025-11-06. GHSA-w2jf-268q-mrvh
OpenTofu potential leaking of secret variable values when using static evaluation in v1.8 Low 3.7 CWE-200 — Affected: from 1.8.0 up to 1.8.3. Fixed in 1.8.3. Published 2024-10-03. GHSA-wpr2-j6gr-pjw9 · CVE-2024-58375

Find github.com/opentofu/opentofu across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.