PatchSiren cyber security CVE debrief
CVE-2026-74796 opentofu CVE debrief
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. This high-severity vulnerability allows attackers to write to arbitrary filesystem locations, potentially leading to data tampering and unauthorized access. Defenders should prioritize verifying OpenTofu versions and configurations, especially in environments where untrusted users have access to working directories.
- Vendor
- opentofu
- Product
- Unknown
- CVSS
- HIGH 7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-16
- Original CVE updated
- 2026-09-08
- Advisory published
- 2026-08-16
- Advisory updated
- 2026-09-08
Who should care
Defenders and administrators using OpenTofu should assess exposure and prioritize verification of OpenTofu versions and configurations, especially in environments where untrusted users have access to working directories.
Why it matters
CVE-2026-74796 is a high-severity vulnerability in OpenTofu that allows attackers to write to arbitrary filesystem locations. Defenders should prioritize verifying OpenTofu versions and configurations, especially in environments where untrusted users have access to working directories.
- Path traversal and arbitrary file write
- Potential for data tampering and unauthorized access
- Need for verification of OpenTofu versions and configurations
- Possible impact on system integrity and availability
Technical summary
OpenTofu before 1.11.7 fails to validate existing symlinks in the provider cache directory during initialization, allowing attackers to place malicious symlinks in trusted working directories and write provider package contents to arbitrary filesystem locations outside the working tree. This vulnerability has a CVSS score of 7 and is classified as HIGH severity. The vulnerability is caused by a lack of validation of symlinks in the provider cache directory, which allows attackers to write to arbitrary filesystem locations.
Defensive priority
Defenders should prioritize verifying OpenTofu versions and configurations, especially in environments where untrusted users have access to working directories.
Recommended defensive actions
- Verify OpenTofu version and upgrade to 1.11.7 or later
- Review and restrict access to working directories
- Monitor for suspicious symlink creation
- Perform a thorough review of system logs to detect potential exploitation attempts
- Implement compensating controls, such as restricting write access to sensitive directories
- Conduct a thorough asset inventory to identify potentially vulnerable systems
- Establish a rollback change window in case of issues with updates
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, but do not specify affected or fixed versions beyond OpenTofu 1.11.7. The NVD entry is currently Awaiting Analysis. The vulnerability has a CVSS score of 7 and is classified as HIGH severity. There are no known exploits or reports of this vulnerability being used in attacks. However, defenders should verify OpenTofu versions and configurations to ensure they are not exposed. The CVE record was published on 2026-08-16T14:16:57.727Z and has not been modified since then.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-74796 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-74796
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-74796 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-74796
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.