CVE-2026-74796 OpenTofu before 1.11.7 Symlink Following Path Traversal
HighCVSS 7.0
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| opentofu github.com/opentofu/opentofu | < 1.11.7 | 1.11.7 | Fixed |
| opentofu github.com/opentofu/opentofu(Go) | < 1.10.10; >= 1.11.0, < 1.11.7 | 1.10.10, 1.11.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opentofu github.com/opentofu/opentofu | < 1.11.7 | 1.11.7 |
| opentofu github.com/opentofu/opentofu(Go) | >= 1.11.0, < 1.11.7 | 1.11.7 |
| opentofu github.com/opentofu/opentofu(Go) | < 1.10.10 | 1.10.10 |
References
- GitHub Security Advisory (GHSA-wcmj-x466-56mm) vendor-advisory
- VulnCheck Advisory: OpenTofu before 1.11.7 Symlink Following Path Traversal third-party-advisory
- github.com product
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2517217 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- ENISA EUVD EUVD-2026-59961 third-party-advisory