CVE-2026-74796
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.
- CVSS 4.0
- 7.0
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 3.1
- 6.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 27% of CVEs (scores of 2026-10-25)
- CWE
- CWE-59
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wcmj-x466-56mm | Go | github.com/opentofu/opentofu | >=1.11.0 <1.11.7 | 1.11.7 |
| GHSA-wcmj-x466-56mm | Go | github.com/opentofu/opentofu | <1.10.10 | 1.10.10 |
| GO-2026-5705 | Go | github.com/opentofu/opentofu | <1.10.10 >=1.11.0 <1.11.7 | 1.10.10, 1.11.7 |