CVE-2026-74796
HIGH 7.0CVSS 4.0OpenTofu: Provider cache installation follows root-module-controlled package directory symlink and writes outside the working tree
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.
- Published
- 16 Aug 2026
- Last modified
- 8 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-59CWE-61
- Also known as
- GHSA-wcmj-x466-56mmGO-2026-5705
- Sources
- NVDJSONOSV GHSA-wcmj-x466-56mmJSONOSV GO-2026-5705JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/opentofu/opentofu | >= 1.11.0, < 1.11.7 | 1.11.7 |
| OSV | Go | github.com/opentofu/opentofu | < 1.10.10 | 1.10.10 |
| OSV | Go | github.com/opentofu/opentofu | < 1.10.10; >= 1.11.0, < 1.11.7 | 1.10.10, 1.11.7 |
References
- https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm · WEB, ADVISORY
- https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal
- https://github.com/opentofu/opentofu · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 16 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jun 2026)