1. Archivio CVE
  2. 2026
  3. CVE-2026-23968

CVE-2026-23968

5.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N 5.5 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
copier-org copier < 9.11.2 python
Tutte le 8 vulnerabilità di Copier-org Copier

Tipo di vulnerabilità

CWE-61 UNIX Symbolic Link (Symlink) Following

The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità Leggere file o cartelle, Modificare file o cartelle

Come si previene

Sviluppo Symbolic link attacks often occur when a program creates a tmp directory that stores files/links. Access to the directory should be restricted to the program as to prevent attackers from manipulating the files.
Architettura e progettazione · Separazione dei privilegi Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 128 CVE di tipo CWE-61, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org