<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T13:22:37.103270+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2025-55214</id>
    <title>CVE-2025-55214 — Copier safe template has filesystem write access outside destination path</title>
    <updated>2026-10-02T13:22:37.131306+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> copier-org copier</p>
<p>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.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2025-55214"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-p7q8-grrj-3m8w</id>
    <title>GHSA-p7q8-grrj-3m8w — Copier's safe template has filesystem write access outside destination path</title>
    <updated>2026-10-02T13:22:37.131400+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: copier</p>
<p>### Impact</p>
<p>Copier suggests that it's safe to generate a project from a safe template, i.e. one that doesn't use [unsafe](https://copier.readthedocs.io/en/stable/configuring/#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](https://copier.readthedocs.io/en/stable/configuring/#generating-a-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.</p>
<p>#### Write access via generated relative path</p>
<p>Reproducible example:</p>
<p>```shell
echo "foo" &gt; forbidden.txt
mkdir src/
echo "bar" &gt; "src/{{ pathjoin('..', 'forbidden.txt') }}"
uvx copier copy src/ dst/
cat forbidden.txt
```</p>
<p>#### Write access via generated absolute path</p>
<p>Reproducible example:</p>
<p>- POSIX:</p>
<p>```shell
    # Assumption: The current working directory is `/tmp/test-copier-vulnerability/`
    echo "foo" &gt; forbidden.txt
    mkdir src/
    echo "bar" &gt; "src/{{ pathjoin(_copier_conf.sep, 'tmp', 'test-copier-vulnera…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-p7q8-grrj-3m8w"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/pysec-2026-1273</id>
    <title>PYSEC-2026-1273 — Copier's safe template has filesystem write access outside destination path</title>
    <updated>2026-10-02T13:22:37.131471+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: copier</p>
<p>### Impact</p>
<p>Copier suggests that it's safe to generate a project from a safe template, i.e. one that doesn't use [unsafe](https://copier.readthedocs.io/en/stable/configuring/#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](https://copier.readthedocs.io/en/stable/configuring/#generating-a-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.</p>
<p>#### Write access via generated relative path</p>
<p>Reproducible example:</p>
<p>```shell
echo "foo" &gt; forbidden.txt
mkdir src/
echo "bar" &gt; "src/{{ pathjoin('..', 'forbidden.txt') }}"
uvx copier copy src/ dst/
cat forbidden.txt
```</p>
<p>#### Write access via generated absolute path</p>
<p>Reproducible example:</p>
<p>- POSIX:</p>
<p>```shell
    # Assumption: The current working directory is `/tmp/test-copier-vulnerability/`
    echo "foo" &gt; forbidden.txt
    mkdir src/
    echo "bar" &gt; "src/{{ pathjoin(_copier_conf.sep, 'tmp', 'test-copier-vulnera…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/pysec-2026-1273"/>
  </entry>
</feed>
