p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in copier

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für copier: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 7

  1. CVE-2026-53951

    Hoch · CVSS 8.8EPSS 0,26%Korrektur verfügbar

    Copier: trust-prefix bypass via path traversal runs tasks unprompted

    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 therefore granted trust yet resolves to a different, attacker-controlled template, whose `tasks` / `migrations` / `jinja_extensions` then run without the `--

    • Auf 9.15.2 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-34730

    Mittel · CVSS 5.5EPSS 0,3%Korrektur verfügbar

    Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode

    Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _external_data feature allows a template to load YAML files using template-controlled paths. If untrusted templates are in scope, a malicious template can read attacker-chosen YAML-parseable local files that are accessible to the user running Copier and expose their contents in rendered output. This issue has been patched in version 9.14.1.

    • Auf 9.14.1 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2026-34726

    Mittel · CVSS 4.4EPSS 0,4%Korrektur verfügbar

    Copier `_subdirectory` allows template root escape via parent-directory traversal

    Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _subdirectory setting is documented as the subdirectory to use as the template root. However, the current implementation accepts parent-directory traversal such as .. and uses it directly when selecting the template root. As a result, a template can escape its own directory and make Copier render files from the parent directory without --UNSAFE. This issue has been patched in version 9.14.1.

    • Auf 9.14.1 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-23986

    Mittel · CVSS 6.9EPSS 0,27%Korrektur verfügbar

    Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true

    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

    • Auf 9.11.2 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2026-23968

    Mittel · CVSS 6.8EPSS 0,24%Korrektur verfügbar

    Copier safe template has arbitrary filesystem read access via symlinks when _preserve_symlinks: false

    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 include arbitrary files/directories outside the local template clone location by using symlinks along with `_preserve_symlinks: false` (which is Copier's default setting). Version 9.11.2 patches the issue.

    • Auf 9.11.2 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2025-55214

    Mittel · CVSS 6.9EPSS 0,26%Korrektur verfügbar

    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

    • Auf 9.9.1 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2025-55201

    Hoch · CVSS 8.5EPSS 0,26%Korrektur verfügbar

    Copier safe template has arbitrary filesystem read/write access

    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.

    • Auf 9.9.1 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →