Skip to content
CVE PROGRAM SOURCE RECORD7.0 High

CVE-2026-74796

OpenTofu before 1.11.7 Symlink Following Path Traversal

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

opentofu opentofu

Default version status: unaffected

  • 0 to < 1.11.7affected
  • 1.11.7unaffected
pkg:golang/github.com/opentofu/opentofu

References