CVE-2026-74796

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductGithub.com/opentofu/opentofu
PublishedAug 16, 2026
First seenAug 16, 2026

How to fix

Update
  • github.com/opentofu/opentofu1.11.7, 1.10.10 or later

Affected products

ProductAffected versionsFixed in
github.com/opentofu/opentofuGo1.11.0 ≤ v < 1.11.7, v < 1.10.101.11.7, 1.10.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.