cve.bz

CVE-2026-74796

7.0 highEPSS 0.3%

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.

CVSS 4.0
7.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
CVSS 3.1
6.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 27% of CVEs (scores of 2026-10-25)
CWE
CWE-59
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wcmj-x466-56mmGogithub.com/opentofu/opentofu>=1.11.0 <1.11.71.11.7
GHSA-wcmj-x466-56mmGogithub.com/opentofu/opentofu<1.10.101.10.10
GO-2026-5705Gogithub.com/opentofu/opentofu<1.10.10
>=1.11.0 <1.11.7
1.10.10, 1.11.7

References

Check your stackJSON