Live threats

All CVEs / opentofu

CVE-2026-74796opentofu

High 7.0 No auth needed

Priority
57
CVSS 4.0
7.0
EPSS
—
Auth required
No
Published
Aug 16, 2026
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

OpenTofu before 1.11.7 fails to validate existing symlinks in the provider cache directory during initialization. Attackers can place a malicious symlink in a trusted working directory to cause tofu init to write provider package contents to arbitrary filesystem locations outside the working tree.

Original NVD text.

What to do

  1. Apply the vendor's security update for opentofu.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/opentofu/opentofu ≥ 1.11.0 < 1.11.7 1.11.7 go get github.com/opentofu/opentofu@v1.11.7
Go github.com/opentofu/opentofu < 1.10.10 1.10.10 go get github.com/opentofu/opentofu@v1.10.10
Go github.com/opentofu/opentofu < 1.10.10 1.10.10 go get github.com/opentofu/opentofu@v1.10.10
Go github.com/opentofu/opentofu ≥ 1.11.0 < 1.11.7 1.11.7 go get github.com/opentofu/opentofu@v1.11.7

Per OSV / GitHub Advisories (GHSA-wcmj-x466-56mm, GO-2026-5705). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.