Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
- https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-trav
FAQ
What is CVE-2026-74796?
CVE-2026-74796 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 i...
How severe is CVE-2026-74796?
CVE-2026-74796 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-74796?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.