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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High; Exploit maturity: Proof of concept; RE: L; U: Red
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.40% (percentile 25, 2026-11-26)
- **CWE:** CWE-627
- **Published:** 2026-02-16T10:16:22.027Z
- **Modified:** 2026-06-17T10:30:58.833Z

## Who should check

- Anyone running pretix-newsletter \>= 1.0.0, \< 2.0.0; \>= 2.0.0, \< 2.0.1

## 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 https://docs.pretix.eu/self-hosting/config/  file.

## Affected and fixed versions

- pretix-newsletter: \>= 1.0.0, \< 2.0.0; \>= 2.0.0, \< 2.0.1 (cvelist)

## Mitigation

- Upgrade pretix-newsletter to 2.0.1 or later.
- Vendor workaround: Limit backend access to trusted users, do not use user-controlled variables in the email templates.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-2452. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-2452.md
Affected: pretix-newsletter >= 1.0.0, < 2.0.0; >= 2.0.0, < 2.0.1
Fixed in: pretix-newsletter 2.0.0, pretix-newsletter 2.0.1

Steps:
1. Search this machine and project for pretix-newsletter: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-2452 being exploited?

There is no confirmed exploitation: CVE-2026-2452 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-2452?

High: CVSS 7.5 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-2452?

pretix-newsletter \>= 1.0.0, \< 2.0.0; \>= 2.0.0, \< 2.0.1.

### Is there a fix for CVE-2026-2452?

Yes. Fixed in pretix-newsletter 2.0.0, pretix-newsletter 2.0.1. Upgrade pretix-newsletter to 2.0.1 or later. Vendor workaround: Limit backend access to trusted users, do not use user-controlled variables in the email templates.

### How do I check if I'm affected by CVE-2026-2452?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://pretix.eu/about/en/blog/20260216-release-2026-1-1/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-2452>

HTML: <https://flawdb.com/CVE-2026-2452> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-2452>
