CVE-2026-74796
7
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| opentofu | opentofu | 0 < 1.11.7 | affected |
| opentofu | opentofu | 1.11.7 | unaffected |
Weaknesses
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
- https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
- https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.