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.
https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal
https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
Published: 2026-08-16
Updated: 2026-08-16
Base Score: 5.4
Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:C/A:N
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
Severity: Medium
Base Score: 7
Vector: 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
Severity: High