{"cve":"CVE-2026-74796","nvd":{"published":"2026-08-16T14:16:57.727","modified":"2026-10-08T16:17:38.493","status":"Awaiting Analysis","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_v4":{"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","score":7.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","score":6.1},"cwes":["CWE-59"],"references":["https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm","https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:10.689564601+00:00"},"epss":{"cve":"CVE-2026-74796","score":0.00339,"percentile":0.27101,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-wcmj-x466-56mm","url":"https://osv.dev/vulnerability/GHSA-wcmj-x466-56mm","summary":"OpenTofu: Provider cache installation follows root-module-controlled package directory symlink and writes outside the working tree","modified":"2026-08-17T03:55:53.314671591Z","packages":[{"ecosystem":"Go","name":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","ranges":[">=1.11.0 <1.11.7"],"fixed":["1.11.7"]},{"ecosystem":"Go","name":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","ranges":["<1.10.10"],"fixed":["1.10.10"]}]},{"id":"GO-2026-5705","url":"https://osv.dev/vulnerability/GO-2026-5705","summary":"OpenTofu: Provider cache installation follows root-module-controlled package directory symlink and writes outside the working tree in github.com/opentofu/opentofu","modified":"2026-08-17T03:55:53.314671591Z","packages":[{"ecosystem":"Go","name":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","ranges":["<1.10.10",">=1.11.0 <1.11.7"],"fixed":["1.10.10","1.11.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}