Home / copier-org / copier / CVE-2025-55214
CVE-2025-55214: is it exploited, and which versions of copier-org copier are affected and fixed?
CVE-2025-55214 is a path traversal (reading or writing files outside the intended folder) vulnerability in copier-org copier. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: copier from 7.1.0 before 9.9.1 (GitHub advisory GHSA-p7q8-grrj-3m8w). Fixed in 9.9.1 (GitHub advisory GHSA-p7q8-grrj-3m8w). Severity: Medium (6.9, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-55214?
Copier safe template has filesystem write access outside destination path
Copier library and CLI app for rendering project templates. From 7.1.0 to before 9.9.1, Copier suggests that it's safe to generate a project from a safe template, i.e. one that doesn't use unsafe features like custom Jinja extensions which would require passing the --UNSAFE,--trust flag. As it turns out, a safe template can currently write files outside the destination path where a project shall be generated or updated. This is possible when rendering a generated directory structure whose rendered path is either a relative parent path or an absolute path. Constructing such paths is possible using Copier's builtin pathjoin Jinja filter and its builtin _copier_conf.sep variable, which is the platform-native path separator. This way, a malicious template author can create a template that overwrites arbitrary files (according to the user's write permissions), e.g., to cause havoc. This vulnerability is fixed in 9.9.1.
From the CVE record by GitHub_M, last updated August 18, 2025, 19:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| copier-org | copier | >= 7.1.0, < 9.9.1 |
As the CVE record by GitHub_M states it, last updated August 18, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | copier | >= 7.1.0, < 9.9.1 | 9.9.1 | GHSA-p7q8-grrj-3m8w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 18, 2025. Summary: Copier's safe template has filesystem write access outside destination path.
How severe is CVE-2025-55214?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-55214 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 18, 2025)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/copier-org/copier/security/advisories/GHSA-p7q8-grrj-3m8w x_refsource_CONFIRM
- https://github.com/copier-org/copier/commit/fdbc0167cc22780b497e4db176feaf6f024757d6 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 8, 2025
- Published
- August 18, 2025, 16:36 UTC
- CVE record updated
- August 18, 2025, 19:47 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:41 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect copier?
- Jul 31, 2026CVE-2026-62999 copier-org copier: path traversal (reading or writing files outside the intended folder)
- Jul 8, 2026CVE-2026-53951 copier-org copier: path traversal (reading or writing files outside the intended folder)
- Apr 2, 2026CVE-2026-34730 copier-org copier: path traversal (reading or writing files outside the intended folder)
- Apr 2, 2026CVE-2026-34726 copier-org copier: path traversal (reading or writing files outside the intended folder)
- Jan 21, 2026CVE-2026-23986 copier-org copier: UNIX Symbolic Link (Symlink) Following
- Jan 21, 2026CVE-2026-23968 copier-org copier: UNIX Symbolic Link (Symlink) Following
- Aug 18, 2025CVE-2025-55201 copier-org copier: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2025-55214
Is CVE-2025-55214 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of copier-org copier are affected by CVE-2025-55214?
copier from 7.1.0 before 9.9.1, per the GitHub advisory GHSA-p7q8-grrj-3m8w. The tables above give every range the sources list.
Which version fixes CVE-2025-55214?
9.9.1, per the GitHub advisory GHSA-p7q8-grrj-3m8w. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-55214?
Medium (6.9, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-55214?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.