{"answers":{"affected":"5 open source packages ship an affected version, including github.com/opentofu/opentofu.","exploited":"There is no known exploitation of CVE-2026-74796 in the wild and no public exploit code.","fix":"Upgrade github.com/opentofu/opentofu to a fixed version for your release line: 1.10.10 or 1.11.7.","what":"CVE-2026-74796 is a high-severity path traversal vulnerability in opentofu, published on 16 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-74796 and fix it if it is affected.\n\nWhat it is: CVE-2026-74796 is a high-severity path traversal vulnerability in opentofu, published on 16 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-74796 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/opentofu/opentofu (Go): affected all versions; fixed in 1.10.10, 1.11.7\n- github.com/opentofu/opentofu (Go): affected all versions; fixed in 1.10.10\n- github.com/opentofu/opentofu (Go): affected all versions; fixed in 1.10.10\n- github.com/opentofu/opentofu (Go): affected from 1.11.0; fixed in 1.11.7\n- github.com/opentofu/opentofu (Go): affected from 1.11.0; fixed in 1.11.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-74796/ (Markdown: https://insights.sbomify.com/CVE-2026-74796/index.md)","id":"CVE-2026-74796","markdown":"https://insights.sbomify.com/CVE-2026-74796/index.md","name":"CVE-2026-74796","record":{"aliases":["GHSA-69hj-5jh6-6q99","GHSA-wcmj-x466-56mm","GO-2026-5705"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenTofu IaC tool","requires_auth":"none","summary":"Attackers can exploit symlink validation flaws in OpenTofu to write provider files to arbitrary filesystem locations during initialization.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenTofu before 1.11.7 Symlink Following Path Traversal","id":"CVE-2026-74796","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":5,"n_references":2,"next":{"headline":"OpenTofu before 1.11.4 Denial of Service via malicious zip","id":"CVE-2026-74797"},"packages":[{"ecosystem":"Go","fixed":["1.10.10","1.11.7"],"introduced":["0","1.11.0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","source":"GO-2026-5705"},{"ecosystem":"Go","fixed":["1.10.10"],"introduced":["0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":null,"source":"GHSA-wcmj-x466-56mm"},{"ecosystem":"Go","fixed":["1.10.10"],"introduced":["0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","source":"GHSA-wcmj-x466-56mm"},{"ecosystem":"Go","fixed":["1.11.7"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":null,"source":"GHSA-wcmj-x466-56mm"},{"ecosystem":"Go","fixed":["1.11.7"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","source":"GHSA-wcmj-x466-56mm"}],"prev":{"headline":"Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion","id":"CVE-2026-74795"},"products":["opentofu"],"published":"2026-08-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["opentofu"]},"summary":"Attackers can exploit symlink validation flaws in OpenTofu to write provider files to arbitrary filesystem locations during initialization.","url":"https://insights.sbomify.com/CVE-2026-74796/"}