{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "9.17.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1ae1a9461e80662a4a11b62f423d56590dfb93f6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v9.17.2",
                "range": [
                  {
                    "fixed": "76239f5250ed14280a6fe45cbf1ffa9c6bb57185"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "3fd3d5a5d2f3af82cf13c84074b727dda230dab9"
            },
            {
              "fixed": "76239f5250ed14280a6fe45cbf1ffa9c6bb57185"
            },
            {
              "fixed": "1ae1a9461e80662a4a11b62f423d56590dfb93f6"
            }
          ],
          "repo": "https://github.com/copier-org/copier",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rg63-g45r-jc58"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145570.json"
  },
  "details": "Copier 8.0.0 before 9.17.2 contains an arbitrary file read vulnerability that allows malicious templates to read files outside the template root via symlinks followed by the Jinja FileSystemLoader. Attackers can ship a symlink, enable _preserve_symlinks, and reference it with an include tag to render credentials or SSH keys into generated projects without --trust.",
  "id": "CVE-2026-145570",
  "modified": "2026-12-05T15:45:29.768545629Z",
  "published": "2026-12-05T14:43:09.630Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145570.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/copier-org/copier"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/copier-org/copier/blob/v9.17.1/copier/_main.py#L698-L705"
    },
    {
      "type": "FIX",
      "url": "https://github.com/copier-org/copier/commit/1ae1a9461e80662a4a11b62f423d56590dfb93f6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/copier-org/copier/releases/tag/v9.17.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/copier-org/copier/security/advisories/GHSA-rg63-g45r-jc58"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145570"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/copier-8.0.0-before-9.17.2-arbitrary-file-read-via-symlinked-jinja-include"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Copier 8.0.0 before 9.17.2 Arbitrary File Read via Symlinked Jinja Include"
}