CVE Explorer
CVE-2026-53951
Copier is a library and CLI app for rendering project templates. In versions 9.5.0 through 9.15.1, the `trust` setting's prefix match
(`copier/_settings.py`) compares the template URL against a trusted prefix with a raw `str.startswith` and no path normalization, while the URL is normalized when the template is actually fetched (`Path.resolve()` for local paths; libcurl dot-segment removal for `https`). A template reference that textually starts with a trusted prefix but contains `..` is therefo
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"copier","vendor":"copier-org","versions":[{"status":"affected","version":">= 9.5.0, < 9.15.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":8.8,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/copier-org/copier/releases/tag/v9.15.2","tags":["x_refsource_MISC"],"url":"https://github.com/copier-org/copier/releases/tag/v9.15.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/copier-org/copier/security/advisories/GHSA-9gmc-jqmh-3rvm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/adp/0/references/0
{"name":"https://github.com/copier-org/copier/security/advisories/GHSA-9gmc-jqmh-3rvm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/copier-org/copier/security/advisories/GHSA-9gmc-jqmh-3rvm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:84a747d7f6bee421cfa7cf02f5496d61cda8a9bd493ec523afb04c25c347fa97 · sha256:a25c6c0611553025… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.