CVE-2026-74796

OpenTofu before 1.11.7 Symlink Following Path Traversal

State
Published
Severity
7.0 High
Published
Aug 16, 2026
Updated
Oct 8, 2026
Reserved
Aug 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:NVulnCheck
3.16.1 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:NVulnCheck

Weaknesses

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

Affected Products

ProductVersions
opentofuopentofu
  • before 1.11.7Affected
  • 1.11.7Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.