<?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>Thu, 22 Oct 2026 18:27:19 +0000</lastBuildDate>
    <item>
      <title>BREW-charm-tools-CVE-2026-113776 — virtualenv activation scripts run code from a path that contains a placeholder name</title>
      <link>https://db.gcve.eu/vuln/brew-charm-tools-cve-2026-113776</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: charm-tools&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;`ViaTemplateActivator.instantiate_template` replaces the placeholders in an activation template one key at a time, each across the whole text. When a value that it already substituted and quoted contains the name of a later placeholder, the later pass rewrites that name inside the quoted literal. The inserted value brings its own quotes, which close the outer literal, and the rest of the path runs as code when a user activates the environment.&lt;/p&gt;
&lt;p&gt;`__VIRTUAL_NAME__` holds the environment&amp;#39;s directory name, so a destination such as `A__VIRTUAL_NAME__B/x&amp;#39;$(touch PWNED)&amp;#39;y` is enough. In the default `activate` for bash, the `VIRTUAL_ENV` line renders as:&lt;/p&gt;
&lt;p&gt;```sh
VIRTUAL_ENV=&amp;#39;/tmp/t/A&amp;#39;x&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;$(touch PWNED)&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;y&amp;#39;B/x&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;$(touch PWNED)&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;y&amp;#39;
```&lt;/p&gt;
&lt;p&gt;Sourcing that script runs `touch PWNED`. The same payload in a path without the placeholder name runs nothing. `activate.fish` runs the command the same way, and the reporter also showed Python code execution through `activate.xsh` and `bin/activate_this.py`. In `activate.csh`, a directory named after a prompt display placeholder, such as `__VIRTUAL_PROMPT_DISPLAY_TCSH__`, breaks the script with `Unmatched &amp;#39;&amp;#39;&amp;#39;`.&lt;/p&gt;
&lt;p&gt;No change to `quote()` can stop this, because the rewrite happens after `quote()` ran; it defeats `shlex.quote` and `repr()` alike.&lt;/p&gt;
&lt;p&gt;An attacker needs to influence the destination path or `--prompt`: a CI job or wrapper tool that builds the path from a branch or project name, or a directory in a cloned repository or unpack…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: charm-tools&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;`ViaTemplateActivator.instantiate_template` replaces the placeholders in an activation template one key at a time, each across the whole text. When a value that it already substituted and quoted contains the name of a later placeholder, the later pass rewrites that name inside the quoted literal. The inserted value brings its own quotes, which close the outer literal, and the rest of the path runs as code when a user activates the environment.&lt;/p&gt;
&lt;p&gt;`__VIRTUAL_NAME__` holds the environment&amp;#39;s directory name, so a destination such as `A__VIRTUAL_NAME__B/x&amp;#39;$(touch PWNED)&amp;#39;y` is enough. In the default `activate` for bash, the `VIRTUAL_ENV` line renders as:&lt;/p&gt;
&lt;p&gt;```sh
VIRTUAL_ENV=&amp;#39;/tmp/t/A&amp;#39;x&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;$(touch PWNED)&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;y&amp;#39;B/x&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;$(touch PWNED)&amp;#39;&amp;#34;&amp;#39;&amp;#34;&amp;#39;y&amp;#39;
```&lt;/p&gt;
&lt;p&gt;Sourcing that script runs `touch PWNED`. The same payload in a path without the placeholder name runs nothing. `activate.fish` runs the command the same way, and the reporter also showed Python code execution through `activate.xsh` and `bin/activate_this.py`. In `activate.csh`, a directory named after a prompt display placeholder, such as `__VIRTUAL_PROMPT_DISPLAY_TCSH__`, breaks the script with `Unmatched &amp;#39;&amp;#39;&amp;#39;`.&lt;/p&gt;
&lt;p&gt;No change to `quote()` can stop this, because the rewrite happens after `quote()` ran; it defeats `shlex.quote` and `repr()` alike.&lt;/p&gt;
&lt;p&gt;An attacker needs to influence the destination path or `--prompt`: a CI job or wrapper tool that builds the path from a branch or project name, or a directory in a cloned repository or unpack…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-charm-tools-cve-2026-113776</guid>
    </item>
    <item>
      <title>CVE-2026-113776 — virtualenv activation scripts run code from a path that contains a placeholder name</title>
      <link>https://db.gcve.eu/vuln/cve-2026-113776</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pypa virtualenv&lt;/p&gt;
&lt;p&gt;virtualenv is a tool for creating isolated virtual python environments. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as __VIRTUAL_NAME__, __VIRTUAL_ENV__, or __VIRTUAL_PROMPT__ inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value&amp;#39;s quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token __VIRTUAL_PROMPT_DISPLAY_TCSH__ can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pypa virtualenv&lt;/p&gt;
&lt;p&gt;virtualenv is a tool for creating isolated virtual python environments. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as __VIRTUAL_NAME__, __VIRTUAL_ENV__, or __VIRTUAL_PROMPT__ inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value&amp;#39;s quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token __VIRTUAL_PROMPT_DISPLAY_TCSH__ can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-113776</guid>
    </item>
  </channel>
</rss>
