{"id":77234,"date":"2026-02-16T14:45:56","date_gmt":"2026-02-16T11:15:56","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-2452-unsafe-variable-evaluation-in-email-templates\/"},"modified":"2026-02-16T14:45:56","modified_gmt":"2026-02-16T11:15:56","slug":"cve-2026-2452-unsafe-variable-evaluation-in-email-templates","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-2452-unsafe-variable-evaluation-in-email-templates\/","title":{"rendered":"CVE-2026-2452 &#8211; Unsafe variable evaluation in email templates"},"content":{"rendered":"<p>CVE ID : CVE-2026-2452<\/p>\n<p>Published :  Feb. 16, 2026, 11:15 a.m. | 1\u00a0hour, 19\u00a0minutes ago<\/p>\n<p>Description : Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name}<br \/>\n is used in an email template, it will  be replaced with the buyer&#8217;s<br \/>\nname for the final email. This mechanism contained a security-relevant bug:<\/p>\n<p>It was possible to exfiltrate information about the pretix system through specially crafted placeholder names such as {{event.__init__.__code__.co_filename}}.<br \/>\n This way, an attacker with the ability to control email templates<br \/>\n(usually every user of the pretix backend) could retrieve sensitive<br \/>\ninformation from the system configuration, including even database<br \/>\npasswords or API keys. pretix does include mechanisms to prevent the usage of such<br \/>\nmalicious placeholders, however due to a mistake in the code, they were<br \/>\nnot fully effective for this plugin.<\/p>\n<p>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\/ \u00a0file.<\/p>\n<p>Severity: 7.5 | HIGH<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-2452 Published : Feb. 16, 2026, 11:15 a.m. | 1\u00a0hour, 19\u00a0minutes ago 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&#8217;s name for the final email. This mechanism &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77234","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77234"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77234\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}