<?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-03T12:37:15.959516+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-2026-23986</id>
    <title>CVE-2026-23986 — Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true</title>
    <updated>2026-10-03T12:37:15.962179+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> copier-org copier</p>
<p>Copier is a library and CLI app for rendering project templates. Prior to version 9.11.2, 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 to arbitrary directories outside the destination path by using directory a symlink along with `_preserve_symlinks: true` and a generated directory structure whose rendered path is inside the symlinked directory. 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. Version 9.11.2 patches the issue.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-23986"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-4fqp-r85r-hxqh</id>
    <title>GHSA-4fqp-r85r-hxqh — Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true</title>
    <updated>2026-10-03T12:37:15.962241+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 to arbitrary directories outside the destination path by using directory a symlink along with [`_preserve_symlinks: true`](https://copier.readthedocs.io/en/stable/configuring/#preserve_symlinks) and a [generated directory structure](https://copier.readthedocs.io/en/stable/configuring/#generating-a-directory-structure) whose rendered path is inside the symlinked directory. 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>&gt; [!NOTE]
&gt;
&gt; At the time of writing, the exploit is non-deterministic, as Copier walks the template's file tree using [`os.scandir`](https://docs.python.org/3/library/os.html#os.scandir) which yields directory entries in arbitrary order.</p>
<p>Reproducible example (may or may not work depending on directory entry yield order):</p>
<p>```shell
mkdir other/
pushd other/
echo "sensitive" &gt; sensitive.txt
popd</p>
<p>mkdir src/
pushd src/
ln -s ../other other
echo "overwritten" &gt; "{{ pathjoin('other', 'sensitive.txt') }}.jinja"
echo "_preserve_symlinks: true" &gt; copier.yml
tree .
# .
# ├── copier.yml
# ├── other -&gt; ../other
# └── {{ pathjoin('othe…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-4fqp-r85r-hxqh"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/pysec-2026-1272</id>
    <title>PYSEC-2026-1272 — Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true</title>
    <updated>2026-10-03T12:37:15.962297+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 to arbitrary directories outside the destination path by using directory a symlink along with [`_preserve_symlinks: true`](https://copier.readthedocs.io/en/stable/configuring/#preserve_symlinks) and a [generated directory structure](https://copier.readthedocs.io/en/stable/configuring/#generating-a-directory-structure) whose rendered path is inside the symlinked directory. 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>&gt; [!NOTE]
&gt;
&gt; At the time of writing, the exploit is non-deterministic, as Copier walks the template's file tree using [`os.scandir`](https://docs.python.org/3/library/os.html#os.scandir) which yields directory entries in arbitrary order.</p>
<p>Reproducible example (may or may not work depending on directory entry yield order):</p>
<p>```shell
mkdir other/
pushd other/
echo "sensitive" &gt; sensitive.txt
popd</p>
<p>mkdir src/
pushd src/
ln -s ../other other
echo "overwritten" &gt; "{{ pathjoin('other', 'sensitive.txt') }}.jinja"
echo "_preserve_symlinks: true" &gt; copier.yml
tree .
# .
# ├── copier.yml
# ├── other -&gt; ../other
# └── {{ pathjoin('othe…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/pysec-2026-1272"/>
  </entry>
</feed>
