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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.0 High | 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 | VulnCheck |
| 3.1 | 6.1 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N | VulnCheck |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
Affected Products
| Product | Versions |
|---|---|
opentofuopentofu |
|
References
- GitHub Security Advisory (GHSA-wcmj-x466-56mm)vendor-advisory
- VulnCheck Advisory: OpenTofu before 1.11.7 Symlink Following Path Traversalthird-party-advisory
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.