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

CVE-2026-2452

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

Descrizione

Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is used in an email template, it will be replaced with the buyer's name for the final email. This mechanism contained a security-relevant bug: It was possible to exfiltrate information about the pretix system through specially crafted placeholder names such as {{event.__init__.__code__.co_filename}}. This way, an attacker with the ability to control email templates (usually every user of the pretix backend) could retrieve sensitive information from the system configuration, including even database passwords or API keys. pretix does include mechanisms to prevent the usage of such malicious placeholders, however due to a mistake in the code, they were not fully effective for this plugin. Out of caution, we recommend that you rotate all passwords and API keys contained in your pretix.cfg https://docs.pretix.eu/self-hosting/config/  file.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
pretix newsletters < 1.6.3 pretix
pretix newsletters 2.0.0 pretix
pretix pretix >= 4.16.0 < 2026.1.1 –
Tutte le 33 vulnerabilità di Pretix

Tipo di vulnerabilità

CWE-627 Dynamic Variable Evaluation

In a language where the user can influence the name of a variable at runtime, if the variable names are not controlled, an attacker can read or write to arbitrary variables, or access arbitrary functions.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Modificare i dati dell’applicazione, Eseguire codice o comandi non autorizzati, Dipende dal contesto

Come si previene

Sviluppo · Refactoring Refactor the code to avoid dynamic variable evaluation whenever possible.
Sviluppo · Validazione dell’input Use only allowlists of acceptable variable or function names.
Sviluppo For function names, ensure that you are only calling functions that accept the proper number of arguments, to avoid unexpected null arguments.

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

Tutte le 3 CVE di tipo CWE-627, con andamento e prevenzione

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