{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.11.7"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "398c818dcf617837724e3137e4682062574d1019"
            }
          ],
          "repo": "https://github.com/opentofu/opentofu",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wcmj-x466-56mm"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74796.json"
  },
  "details": "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.",
  "id": "CVE-2026-74796",
  "modified": "2026-08-19T03:31:22.519720501Z",
  "published": "2026-08-16T13:14:18.365Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74796.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74796"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenTofu before 1.11.7 Symlink Following Path Traversal"
}