PT-2026-3872 · Copier · Copier
Cbrown1234
·
Publicado
2026-01-21
·
Atualizado
2026-01-22
·
CVE-2026-23986
CVSS v3.1
7.1
Alta
| Vetor | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Copier versions prior to 9.11.2
Description
Copier, a library and CLI app for rendering project templates, allows a malicious template author to overwrite arbitrary files. This occurs because a safe template can write to directories outside the intended destination path by utilizing a symlink with
preserve symlinks: true and a generated directory structure where the rendered path resides within the symlinked directory. The exploit is non-deterministic, as Copier uses os.scandir which yields directory entries in an arbitrary order. The issue allows overwriting files based on the user's write permissions.Recommendations
Update Copier to version 9.11.2 or later.
Exploit
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Copier