<?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://db.gcve.eu</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>Sat, 03 Oct 2026 09:50:37 +0000</lastBuildDate>
    <item>
      <title>GHSA-cpwx-vrp4-4pq7 — Jinja2 vulnerable to sandbox breakout through attr filter selecting format method</title>
      <link>https://db.gcve.eu/vuln/ghsa-cpwx-vrp4-4pq7</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: Jinja2&lt;/p&gt;
&lt;p&gt;An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.&lt;/p&gt;
&lt;p&gt;To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.&lt;/p&gt;
&lt;p&gt;Jinja&amp;#39;s sandbox does catch calls to `str.format` and ensures they don&amp;#39;t escape the sandbox. However, it&amp;#39;s possible to use the `|attr` filter to get a reference to a string&amp;#39;s plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment&amp;#39;s attribute lookup.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: Jinja2&lt;/p&gt;
&lt;p&gt;An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.&lt;/p&gt;
&lt;p&gt;To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.&lt;/p&gt;
&lt;p&gt;Jinja&amp;#39;s sandbox does catch calls to `str.format` and ensures they don&amp;#39;t escape the sandbox. However, it&amp;#39;s possible to use the `|attr` filter to get a reference to a string&amp;#39;s plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment&amp;#39;s attribute lookup.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-cpwx-vrp4-4pq7</guid>
    </item>
  </channel>
</rss>
