What’s Vulnerable › Vulnerabilities

CVE-2026-74796: 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.

Affected products

How to fix

Upgrade to a fixed version: opentofu 1.11.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-74796 or the next vulnerability affects your stack