CVE-2026-2415
CVE-2026-2415 is a medium-severity vulnerability in Pretix with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-627.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- CVSS v4: 7.5
- EPSS exploit prediction: 0% (15th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-6097
- Weakness: CWE-627
- Affected product: Pretix
- Published:
- Last modified:
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 two security-relevant bugs: * 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 the email subject. * Placeholders in subjects and plain text bodies of emails were wrongfully evaluated twice. Therefore, if the first evaluation of a placeholder again contains a placeholder, this second placeholder was rendered. This allows the rendering of placeholders controlled by the ticket buyer, and therefore the exploitation of the first issue as a ticket buyer. Luckily, the only buyer-controlled placeholder available in pretix by default (that is not validated in a way that prevents the issue) is {invoice_company}, which is very unusual (but not impossible) to be contained in an email subject template. In addition to broadening the attack surface of the first issue, this could theoretically also leak information about an order to one of the attendees within that order. However, we also consider this scenario very unlikely under typical conditions. 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.
Frequently asked questions
- What is CVE-2026-2415?
- 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 two security-relevant bugs: * 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 the email subject. * Placeholders in subjects and plain text bodies of emails were wrongfully evaluated twice. Therefore, if the first evaluation of a placeholder again contains a placeholder, this second placeholder was rendered. This allows the rendering of placeholders controlled by the ticket buyer, and therefore the exploitation of the first issue as a ticket buyer. Luckily, the only buyer-controlled placeholder available in pretix by default (that is not validated in a way that prevents the issue) is {invoice_company}, which is very unusual (but not impossible) to be contained in an email subject template. In addition to broadening the attack surface of the first issue, this could theoretically also leak information about an order to one of the attendees within that order. However, we also consider this scenario very unlikely under typical conditions. 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.
- How severe is CVE-2026-2415?
- CVE-2026-2415 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2026-2415 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (15th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-2415?
- CVE-2026-2415 affects Pretix. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-2415?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-2415 have an EU (EUVD) identifier?
- Yes. CVE-2026-2415 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-6097.
- When was CVE-2026-2415 published?
- CVE-2026-2415 was published on 2026-02-16 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:pretix:pretix:*:*:*:*:*:*:*:*
More vulnerabilities in Pretix
- CVE-2024-27447 — Critical (CVSS 9.8): pretix before 2024.1.1 mishandles file validation.
- CVE-2026-2452 — Medium (CVSS 6.5): Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is…
- CVE-2026-2451 — Medium (CVSS 6.5): Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is…
- CVE-2025-13742 — Medium (CVSS 6.1): Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is used…
- CVE-2024-8113 — Medium (CVSS 5.4): Stored XSS in organizer and event settings of pretix up to 2024.7.0 allows malicious event organizers to inject HTML…
- CVE-2026-5600 — Medium (CVSS 4.3): A new API endpoint introduced in pretix 2025 that is supposed to return all check-in events of a specific event in…
Other CWE-627 vulnerabilities
- CVE-2026-2452 — Medium (CVSS 6.5): Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is…
- CVE-2026-2451 — Medium (CVSS 6.5): Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is…