{
  "id": "CVE-2025-55201",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-55201",
  "published_at": "2025-08-18T16:21:25.576Z",
  "title": "Copier safe template has arbitrary filesystem read/write access",
  "vendor": "copier-org",
  "product": "copier",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Copier library and CLI app for rendering project templates. Prior to 9.9.1, a safe template can currently read and write arbitrary files because Copier exposes a few pathlib.Path objects in the Jinja context which have unconstrained I/O methods. This effectively renders the security model w.r.t. filesystem access useless. This vulnerability is fixed in 9.9.1.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "copier-org",
        "product": "copier",
        "ranges": [
          "\u003c 9.9.1"
        ],
        "fixed_in": [
          "9.9.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade copier to 9.9.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/copier-org/copier/security/advisories/GHSA-3xw7-v6cj-5q8h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/copier-org/copier/commit/3feea3b3ff3c20d80cbb16a2f3b9567ffc5606d1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
