{"id":"CVE-2026-74796","summary":"OpenTofu before 1.11.7 Symlink Following Path Traversal","details":"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.","aliases":["GHSA-wcmj-x466-56mm","GO-2026-5705"],"modified":"2026-08-19T03:31:22.519720501Z","published":"2026-08-16T13:14:18.365Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74796.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74796.json"},{"type":"ADVISORY","url":"https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74796"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opentofu/opentofu","events":[{"introduced":"0"},{"fixed":"398c818dcf617837724e3137e4682062574d1019"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.11.7"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v1.11.6","v1.11.5","v1.11.4","v1.11.3","v1.11.2","v1.11.1","v1.11.0","v1.11.0-rc4","v1.11.0-rc3","v1.11.0-rc2","v1.11.0-rc1","v1.11.0-beta1","v1.10.0-beta1","v1.10.0-alpha2","v1.10.0-alpha1","v1.9.0-beta2","v1.9.0-beta1","v1.9.0-alpha2","v1.9.0-alpha1","v1.8.0-beta2","v1.8.0-beta1","v1.8.0-alpha1","v1.7.0-beta1","v1.7.0-alpha1","v1.6.0-rc1","v1.6.0-beta5","v1.6.0-beta4","v1.6.0-beta3","v1.6.0-beta2","v1.6.0-beta1","v1.6.0-alpha5","v1.6.0-alpha4","v1.6.0-alpha3","v1.6.0-alpha1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74796.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}