# CVE-2026-2451: Unsafe variable evaluation in email templates

- Severity: High 7.5 (CVSS:4.0, scored by rami.io) `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/RE:L/U:Red`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-02-16T10:16:05.423Z
- Modified: 2026-06-17T10:30:58.700Z
- Weaknesses: CWE-627
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: rami.io

## Description

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 file.

(As written by CVE List.)

## Affected

- pretix-doistep: from 1.0.0 before 1.3.2
- pretix double_opt_in_step: before 1.3.2
- pretix pretix: from 4.16.0 before 2026.1.1

## Every score

- rami.io: CVSS:4.0 7.5 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/RE:L/U:Red`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://pretix.eu/about/en/blog/20260216-release-2026-1-1/> (patch, third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2026-2451](https://www.cve.org/CVERecord?id=CVE-2026-2451), CVE Terms of Use, modified 2026-02-17
- NVD: [CVE-2026-2451](https://nvd.nist.gov/vuln/detail/CVE-2026-2451), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2451 · Whole record: https://cve.day/CVE-2026-2451.json · Rebuilt by cve.day 2026-11-25T22:59:13.939Z
