CVE-2026-74796 PUBLISHED

OpenTofu before 1.11.7 Symlink Following Path Traversal

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 16.08.2026 Updated: 16.08.2026

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.

Metrics

CVSS 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
CVSS Score: 7

Product Status

Vendor opentofu
Product opentofu
Versions Default: unaffected
  • affected from 0 to 1.11.7 (excl.)
  • Version 1.11.7 is unaffected

References

Problem Types

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