Vulnerability in Opentofu
CVE-2026-74796
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.003 (24.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 24.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.001
Affected products
- Opentofu — versions 0, 1.11.7
Weakness classification (CWE)
References
- github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm (vendor-advisory)
- www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal (third-party-advisory)
Frequently asked questions
- What is CVE-2026-74796?
- CVE-2026-74796 is a medium-severity vulnerability in Opentofu, classified under Improper Link Resolution Before File Access. CVSS score: 6.1/10. Published 2026-08-16.
- How severe is CVE-2026-74796?
- Medium severity. CVSS v3 base score is 6.1 out of 10.