CVE-2026-74796: OpenTofu - Path Traversal
- Cve: CVE-2026-74796
- Name: OpenTofu - 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.
- Impact: Attackers can write files to arbitrary locations on the filesystem, potentially leading to system compromise or data tampering.
- Remediation: Update to version 1.11.7 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, data_tampering
- Requirements: Attacker must place a malicious symlink in a trusted working directory
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
- Epss score: 0.00339
- Epss percentile: 0.27877
- Assignee: [email protected]
- Published at: 2026-08-16T14:16:57Z
- Age in days: 100
- Modified at: 2026-10-08T16:17:38Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-74796
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm | nvd | |
| https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| opentofu/opentofu | security_advisory | yes | /v1/repositories/opentofu/opentofu |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts