{"id":"CVE-2026-74796","published":"2026-08-16T13:14:18Z","modified":"2026-10-08T15:24:46Z","title":"OpenTofu before 1.11.7 Symlink Following Path Traversal","vendor":"opentofu","product":"opentofu","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00339,"percentile":0.28065,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal","tags":["third-party-advisory"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":5.61},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"opentofu","affectedVersions":[{"vendor":"opentofu","product":"opentofu","versions":["< 1.11.7"]}],"fixedVersions":[{"vendor":"opentofu","product":"opentofu","versions":["1.11.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-17T15:30:48.467498Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/opentofu/opentofu","vulnerableRanges":["<1.10.10",">=1.11.0, <1.11.7"],"patched":["1.10.10","1.11.7"],"from":["GO-2026-5705"],"provenance":"source"}],"summary":{"text":"OpenTofu versions before 1.11.7 contain a symlink-following flaw in the provider cache directory handling during initialization, where existing symlinks are not validated. An attacker who can place a malicious symlink in a trusted working directory, with the victim then running tofu init and the attack requiring user interaction, can cause provider package contents to be written to arbitrary filesystem locations outside the working tree.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:34Z"},"euvd":{"id":"EUVD-2026-59961","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-58375","published":"2026-08-16","fixed":"1.8.3","kev":false,"link":{"from":"CVE-2024-58375","to":"CVE-2026-74796","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/opentofu/opentofu","fromFixed":"1.8.3","toFixed":"1.10.10","daysApart":0}]}},{"cve":"CVE-2026-74797","published":"2026-08-16","fixed":"1.11.4","kev":false,"link":{"from":"CVE-2026-74797","to":"CVE-2026-74796","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/opentofu/opentofu","fromFixed":"1.11.4","toFixed":"1.11.7","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/opentofu/opentofu","fromFixed":"1.10.10","toFixed":"1.11.4","daysApart":0},{"kind":"similar","provenance":"machine","score":0.33,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-74796","published":"2026-08-16","fixed":"1.11.7","kev":false}],"package":"Go:github.com/opentofu/opentofu"}}