p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de copier

Vulnérabilité publiée pour copier au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 7

  1. CVE-2026-53951

    Élevée · CVSS 8.8EPSS 0,26%Correctif disponible

    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 `--

    • Mettez à jour vers 9.15.2
    Publication Mise à jour
  2. CVE-2026-34730

    Moyenne · CVSS 5.5EPSS 0,3%Correctif disponible

    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.

    • Mettez à jour vers 9.14.1
    Publication Mise à jour
  3. CVE-2026-34726

    Moyenne · CVSS 4.4EPSS 0,4%Correctif disponible

    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.

    • Mettez à jour vers 9.14.1
    Publication Mise à jour
  4. CVE-2026-23986

    Moyenne · CVSS 6.9EPSS 0,27%Correctif disponible

    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

    • Mettez à jour vers 9.11.2
    Publication Mise à jour
  5. CVE-2026-23968

    Moyenne · CVSS 6.8EPSS 0,24%Correctif disponible

    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.

    • Mettez à jour vers 9.11.2
    Publication Mise à jour
  6. CVE-2025-55214

    Moyenne · CVSS 6.9EPSS 0,26%Correctif disponible

    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

    • Mettez à jour vers 9.9.1
    Publication Mise à jour
  7. CVE-2025-55201

    Élevée · CVSS 8.5EPSS 0,26%Correctif disponible

    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.

    • Mettez à jour vers 9.9.1
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →