CVE-2026-74796 json
OpenTofu before 1.11.7 Symlink Following Path Traversal
published 2026-06-23 4 mo ago modified 2026-10-08 31 d ago also GHSA-wcmj-x466-56mm , GO-2026-5705 , EUVD-2026-59961
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/opentofu/opentofu 1.10.10, 1.11.7
- opentofu opentofu 1.11.7
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-74796 updated cvss 6.1
github.com/opentofu/opentofu: OpenTofu: Arbitrary file write via symlink following path traversal
-
Red Hat Hardened Images hi/opentofu, opentofu1.10, opentofu1.11, opentofu1.12not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.0 | 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 |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
| CNA | 4.0 | 7.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/opentofu/opentofu | >=1.11.0, <1.11.7 <1.10.10 |
1.11.7 1.10.10 |
Affected products
- opentofu opentofu
Classification
References
-
github.com
/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
vendor-advisory, web, advisory
-
vulncheck.com
/advisories/opentofu-before-symlink-following-path-traversal
third-party-advisory
-
github.com
/opentofu/opentofu
package
Sources
- CVE List CVE-2026-74796
- GitHub Advisory GHSA-wcmj-x466-56mm
- NVD CVE-2026-74796
- OSV GO-2026-5705
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.