Vulnerability
CVE-2026-74796
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.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-wcmj-x466-56mm
OpenTofu: Provider cache installation follows root-module-controlled package directory symlink and writes outside the working tree
-
GO-2026-5705
OpenTofu: Provider cache installation follows root-module-controlled package directory symlink and writes outside the working tree in github.com/opentofu/opentofu