{"id":"CVE-2026-74796","state":"PUBLISHED","title":"OpenTofu before 1.11.7 Symlink Following Path Traversal","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.","publishedAt":"2026-08-16T13:14:18.365Z","updatedAt":"2026-10-08T15:24:46.513Z","severity":{"score":7,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["opentofu opentofu"],"affected":[{"vendor":"opentofu","product":"opentofu","packageURL":"pkg:golang/github.com/opentofu/opentofu","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.11.7","versionType":"semver"},{"version":"1.11.7","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm","https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74796.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74796","state":"PUBLISHED","datePublished":"2026-08-16T13:14:18.365Z","dateUpdated":"2026-10-08T15:24:46.513Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-16T12:59:42.222Z"},"containers":{"cna":{"title":"OpenTofu before 1.11.7 Symlink Following Path Traversal","descriptions":[{"lang":"en","value":"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":[{"vendor":"opentofu","product":"opentofu","packageURL":"pkg:golang/github.com/opentofu/opentofu","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.11.7","versionType":"semver"},{"version":"1.11.7","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-wcmj-x466-56mm)"},{"url":"https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal","name":"VulnCheck Advisory: OpenTofu before 1.11.7 Symlink Following Path Traversal","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:24:46.513Z"},"datePublic":"2026-05-21T00:00:00.000Z","x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-17T15:30:48.467498Z","id":"CVE-2026-74796","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-17T15:30:59.808Z"}}]}}}