Unsafe variable evaluation in email templates
Published Feb 16, 2026
7.5
HIGHCVSS 4.0
EPSS 0.27%
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 products
-
- Version 1.0.0StatusaffectedConstraints<2.0.0
- Version 2.0.0StatusaffectedConstraints<2.0.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pretix | Pretix-Newsletter | unaffected |
|
- < 1.6.3
- 2.0.0
- ≥ 4.16.0 · < 2026.1.1
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Vendor solution
Limit backend access to trusted users, do not use user-controlled variables in the email templates.
Metrics
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
1 other source (NVD) ▾
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:L/U:Red
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Feb 17, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
Feb–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.27% (0.00268) | 17.15th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.26% (0.00258) | 16.85th | v5 (v2026.06.15) |
| Feb 16, 2026 | 0.05% (0.00047) | 14.19th | v4 (v2025.03.14) |
References (1)
- https://pretix.eu/about/en/blog/20260216-release-2026-1-1/ vendor-advisoryPatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://pretix.eu/about/en/blog/20260216-release-2026-1-1/ | vendor-advisoryPatchThird Party Advisory |
Change history (0)
No recorded changes yet.