Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-2415

HIGH 7.5EPSS 23%

Unsafe variable evaluation in email templates

Also known as GHSA-r8p8-qw9w-j9qv, PYSEC-2026-110

Mitigation

  • Upgrade pretix to one of 2026.1.1, 2025.10.2, 2025.9.4 (or later in the same release line).
  • Vendor workaround: Limit backend access to trusted users, do not use user-controlled variables in the email template subjects.

Who should check

  • Projects that depend on PyPI package pretix (>= 2026.1.0, < 2026.1.1)
  • Anyone running pretix >= 4.16.0, < 2025.9.0; >= 2025.9.0, < 2025.10.0; >= 2025.10.0, < 2026.1.0; >= 2026.1.0, < 2026.1.1

Vulnerability facts

Affected
pretix >= 2026.1.0, < 2026.1.1
Fixed in
2026.1.1, 2025.10.2, 2025.9.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
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:RedOpen in CVSS calculator
Show all 14 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
EPSS
0.38% chance of exploitation in 30 days (percentile 23, 2026-11-26)
CWE
CWE-627
Published
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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI pretix>= 2026.1.0, < 2026.1.12026.1.1, 2025.10.2, 2025.9.4osv
pretix>= 4.16.0, < 2025.9.0; >= 2025.9.0, < 2025.10.0; >= 2025.10.0, < 2026.1.0; >= 2026.1.0, < 2026.1.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-2415.md
Affected: pretix >= 2026.1.0, < 2026.1.1
Fixed in: 2026.1.1, 2025.10.2, 2025.9.4

Steps:
1. Search this machine and project for pretix (PyPI), pretix: 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.

References

FAQ

Is CVE-2026-2415 being exploited?

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

How serious is CVE-2026-2415?

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-2415?

pretix >= 2026.1.0, < 2026.1.1.

Is there a fix for CVE-2026-2415?

Yes. Fixed in 2026.1.1, 2025.10.2, 2025.9.4. Upgrade pretix to one of 2026.1.1, 2025.10.2, 2025.9.4 (or later in the same release line). Vendor workaround: Limit backend access to trusted users, do not use user-controlled variables in the email template subjects.

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

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.

Sponsors