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

- Severity: High 7.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 20% of CVEs (2026-11-30)
- Published: 2026-06-23T22:23:01.000Z
- Modified: 2026-10-08T16:17:38.493Z
- Also known as: GHSA-wcmj-x466-56mm, GO-2026-5705
- Weaknesses: CWE-59, CWE-61
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- opentofu opentofu: before 1.11.7 (not affected: 1.11.7)
- github.com/opentofu/opentofu (Go): from 1.11.0 before 1.11.7; before 1.10.10

## Every score

- VulnCheck: CVSS:4.0 7.0 High `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`

## References

- <https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm> (advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal> (third-party-advisory)
- <https://github.com/opentofu/opentofu> (package)

## Sources

- CVE List: [CVE-2026-74796](https://www.cve.org/CVERecord?id=CVE-2026-74796), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-wcmj-x466-56mm](https://github.com/advisories/GHSA-wcmj-x466-56mm), CC-BY-4.0, modified 2026-08-17
- Go Vulnerability Database: [GO-2026-5705](https://pkg.go.dev/vuln/GO-2026-5705), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-74796](https://nvd.nist.gov/vuln/detail/CVE-2026-74796), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-74796 · Whole record: https://cve.day/CVE-2026-74796.json · Rebuilt by cve.day 2026-11-25T22:59:33.309Z
