CVE-2026-74796
published high CVSS 4.0 · 7.0OpenTofu before 1.11.7 Symlink Following Path Traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| opentofu | — | opentofu0 to < 1.11.7 (affected · semver) · 1.11.7 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| opentofu | opentofu | 0 to < 1.11.7 (affected · semver)1.11.7 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
2- GitHub Security Advisory (GHSA-wcmj-x466-56mm) https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
- VulnCheck Advisory: OpenTofu before 1.11.7 Symlink Following Path Traversal https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal
Provider assertions
2VulnCheck · cna
OpenTofu before 1.11.7 Symlink Following Path Traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a5a3b9e06c3f6011b3038cd12bee2fa79b93bddc82b45802c839f054542119b6
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record