Skip to content

CVE-2026-74796 OpenTofu before 1.11.7 Symlink Following Path Traversal

HighCVSS 7.0 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
opentofu github.com/opentofu/opentofu < 1.11.7 1.11.7 Fixed
opentofu github.com/opentofu/opentofu(Go) < 1.10.10; >= 1.11.0, < 1.11.7 1.10.10, 1.11.7 Fixed

Affected products

ProductAffected versionsFixed in
opentofu github.com/opentofu/opentofu < 1.11.7 1.11.7
opentofu github.com/opentofu/opentofu(Go) >= 1.11.0, < 1.11.7 1.11.7
opentofu github.com/opentofu/opentofu(Go) < 1.10.10 1.10.10

References