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.

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.

Affected products

Weakness classification (CWE)

References

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.