<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 25 Nov 2026 12:22:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-133772 — Sandbox Tag Allow-List Bypass via the Branch of a `guard` Tag That Isn't Selected</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-133772</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; twig/twig&lt;/p&gt;
&lt;p&gt;The guard tag compiles only one of its branches, depending on whether a callable exists. The other branch was still parsed, though. The extends, use, macro and block tags in it registered their effects on the template. The sandbox doesn&amp;#39;t see these tags, since that branch isn&amp;#39;t compiled. A sandboxed template allowed to use guard could therefore extend a template, import blocks and define macros, while the policy doesn&amp;#39;t allow these tags:&lt;/p&gt;
&lt;p&gt;{% guard filter upper %}{% else %}{% extends &amp;#34;parent.html&amp;#34; %}{% endguard %}&lt;/p&gt;
&lt;p&gt;The templates reached this way come from the loader of the sandbox, and they are sandboxed too.&lt;/p&gt;
&lt;p&gt;What the branch that isn&amp;#39;t selected registers on the parser is now discarded.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; twig/twig&lt;/p&gt;
&lt;p&gt;The guard tag compiles only one of its branches, depending on whether a callable exists. The other branch was still parsed, though. The extends, use, macro and block tags in it registered their effects on the template. The sandbox doesn&amp;#39;t see these tags, since that branch isn&amp;#39;t compiled. A sandboxed template allowed to use guard could therefore extend a template, import blocks and define macros, while the policy doesn&amp;#39;t allow these tags:&lt;/p&gt;
&lt;p&gt;{% guard filter upper %}{% else %}{% extends &amp;#34;parent.html&amp;#34; %}{% endguard %}&lt;/p&gt;
&lt;p&gt;The templates reached this way come from the loader of the sandbox, and they are sandboxed too.&lt;/p&gt;
&lt;p&gt;What the branch that isn&amp;#39;t selected registers on the parser is now discarded.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-133772</guid>
    </item>
  </channel>
</rss>
