CVE-2026-74796

Summary

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.

Affected Software

VendorProductVersion RangeStatus
opentofuopentofu0 < 1.11.7affected
opentofuopentofu1.11.7unaffected

Weaknesses

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

References