CVE-2026-2415
Unsafe variable evaluation in email templates
Что произошло
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.
Что это значит
В источнике описана ошибка безопасности в перечисленных продуктах. Фактический риск зависит от установленной версии, конфигурации и доступности компонента; проверьте условия в первичном бюллетене.
Что делать
1. Проверьте, затронуты ли вы
Соберите инвентаризацию и сравните с таблицей затронутых версий. Эти команды только показывают установленные компоненты и сами по себе не доказывают наличие CVE.
dpkg-query -W -f='${Package} ${Version}\n'rpm -qa --qf '%{NAME}\t%{VERSION}-%{RELEASE}\n'Get-HotFix | Select-Object HotFixID, InstalledOn
2. Установите исправление
Сверьте точный продукт и версию с бюллетенем вендора. Установите указанное в нём исправление после резервного копирования и проверки совместимости. Подтверждённая целевая версия в источниках отсутствует.
3. Временные меры
Limit backend access to trusted users, do not use user-controlled variables in the email template subjects.
4. Проверьте следы эксплуатации
Проверьте аномальные входы, новые учётные записи, ошибки и необычные дочерние процессы в затронутом сервисе. Публичные проверенные правила обнаружения не включены в запись; отсутствие сигналов не доказывает отсутствие компрометации.
5. После исправления
- Проверьте фактическую версию и результат установки по бюллетеню.
- При необходимости перезапустите сервисы в согласованное окно.
- Повторите проверку сканером и функциональные проверки.
- Зафиксируйте результат, дату, владельца и оставшийся риск.
Продукты и затронутые версии
pretix / pretix
{
"status": "affected",
"version": "4.16.0",
"lessThan": "2025.9.0",
"versionType": "python"
}{
"status": "affected",
"changes": [
{
"at": "2025.9.4",
"status": "unaffected"
}
],
"version": "2025.9.0",
"lessThan": "2025.10.0",
"versionType": "python"
}{
"status": "affected",
"changes": [
{
"at": "2025.10.2",
"status": "unaffected"
}
],
"version": "2025.10.0",
"lessThan": "2026.1.0",
"versionType": "python"
}{
"status": "affected",
"version": "2026.1.0",
"lessThan": "2026.1.1",
"versionType": "python"
}pretix PyPI
{
"status": "affected",
"version": "*",
"versionEndExcluding": "2026.1.1",
"versionStartIncluding": "4.16.0"
}pretix PyPI
{
"status": "affected",
"version": "*",
"versionEndExcluding": "2026.1.1",
"versionStartIncluding": "2026.1.0"
}pretix PyPI
{
"status": "affected",
"version": "*",
"versionEndExcluding": "2025.10.2",
"versionStartIncluding": "2025.10.0"
}pretix PyPI
{
"status": "affected",
"version": "*",
"versionEndExcluding": "2025.9.4"
}CVSS: оценки и векторы
CVSS 4.0 · cve7.5
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
Классы CWE
Источники и ссылки
Происхождение полей
{
"cwes": [
"cve"
],
"epss": {
"source": "epss",
"received_at": "2026-11-03T21:12:58.824056+00:00"
},
"title": {
"source": "cve",
"received_at": "2026-10-28T22:02:53.124967+00:00"
},
"scores": [
"cve"
],
"status": {
"source": "cve",
"received_at": "2026-10-28T22:02:53.124967+00:00"
},
"affected": [
"cve",
"osv"
],
"published": {
"source": "cve",
"received_at": "2026-10-28T22:02:53.124967+00:00"
},
"solutions": [],
"percentile": {
"source": "epss",
"received_at": "2026-11-03T21:12:58.824056+00:00"
},
"references": [
"cve",
"osv"
],
"description": {
"source": "cve",
"received_at": "2026-10-28T22:02:53.124967+00:00"
},
"workarounds": [
"cve"
],
"configurations": []
}Хронология записи
- Данные обновлены04.11.2026, 00:12
- Данные обновлены03.11.2026, 00:12
- Появились сведения об исправлении02.11.2026, 15:10
- Данные обновлены02.11.2026, 15:04
- Данные обновлены02.11.2026, 00:10
- Данные обновлены31.10.2026, 11:57
- Данные обновлены29.10.2026, 12:22
- Опубликована29.10.2026, 01:02
Личная заметка и статус
Другие CVE того же продукта
| УЯЗВИМОСТЬ / ПРОДУКТ | ПРИОРИТЕТ | CVSS | EPSS | СИГНАЛЫ | ОПУБЛИКОВАНА | Карточка |
|---|---|---|---|---|---|---|
| CVE-2026-101269 Incorrect session validation for API-uploaded files pretix / pretix | Низкий | 2.3 | 0,22 % | 29.09.2026 | ||
| CVE-2026-101268 Customer session fixation pretix / pretix | Низкий | 1.7 | 0,2 % | 29.09.2026 | ||
| CVE-2026-101267 Revenue information leak pretix / pretix | Низкий | 2.7 | 0,24 % | 29.09.2026 | ||
| CVE-2026-101266 Checkout validation bypass pretix / pretix | Низкий | 1.3 | 0,27 % | 29.09.2026 | ||
| CVE-2026-101270 HTML injection pretix / pretix | Низкий | 2.1 | 0,19 % | 29.09.2026 |