<?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>Sun, 22 Nov 2026 15:42:47 +0000</lastBuildDate>
    <item>
      <title>GHSA-5hrj-7fc3-cmx9 — Mustache for Ruby: RCE using built-in method access</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-5hrj-7fc3-cmx9</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: mustache&lt;/p&gt;
&lt;p&gt;&amp;gt; [!NOTE]
&amp;gt; The vulnerability was fully disclosed to the maintainer in private prior to security advisories were enabled for the project.
&amp;gt; This advisory presents a limited information for initial release to provide a time window for installing updates. Full information with PoCs would be added later.&lt;/p&gt;
&lt;p&gt;## Summary
Mustache template engine for Ruby in versions 1.1.2 and earlier allows remote attackers to achieve arbitrary code execution through accessing specific built-in methods in an attacker-supplied template.&lt;/p&gt;
&lt;p&gt;## Details
Mustache is often suggested as a safe simple template language to avoid SSTI vulnerabilities.[^1] [^2]&lt;/p&gt;
&lt;p&gt;Mustache for Ruby up to version 1.1.2 did not properly restrict method access which allowed chaining multiple built-in methods to achieve arbitrary code execution.&lt;/p&gt;
&lt;p&gt;&amp;gt; [!IMPORTANT]
&amp;gt; Successful exploitation of this vulnerability does not depend on any configuration or objects passed to the template engine.
&amp;gt; An attacker controlling the template string can achieve arbitrary code execution without any additional requirements.&lt;/p&gt;
&lt;p&gt;Additional methods provided by the application or installed gems can further expand the attack surface but exploitation was proven without them.&lt;/p&gt;
&lt;p&gt;## PoC
All discovered payloads were tested using `ruby -e` shell commands with `mustache` as the only explicitly required gem:&lt;/p&gt;
&lt;p&gt;```bash
ruby -e &amp;#39;require &amp;#34;mustache&amp;#34;; puts Mustache.render(&amp;#34;PAYLOAD GOES HERE&amp;#34;, key: &amp;#34;value&amp;#34;)&amp;#39;
```&lt;/p&gt;
&lt;p&gt;For initial information release, only the descriptions of the mos…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: mustache&lt;/p&gt;
&lt;p&gt;&amp;gt; [!NOTE]
&amp;gt; The vulnerability was fully disclosed to the maintainer in private prior to security advisories were enabled for the project.
&amp;gt; This advisory presents a limited information for initial release to provide a time window for installing updates. Full information with PoCs would be added later.&lt;/p&gt;
&lt;p&gt;## Summary
Mustache template engine for Ruby in versions 1.1.2 and earlier allows remote attackers to achieve arbitrary code execution through accessing specific built-in methods in an attacker-supplied template.&lt;/p&gt;
&lt;p&gt;## Details
Mustache is often suggested as a safe simple template language to avoid SSTI vulnerabilities.[^1] [^2]&lt;/p&gt;
&lt;p&gt;Mustache for Ruby up to version 1.1.2 did not properly restrict method access which allowed chaining multiple built-in methods to achieve arbitrary code execution.&lt;/p&gt;
&lt;p&gt;&amp;gt; [!IMPORTANT]
&amp;gt; Successful exploitation of this vulnerability does not depend on any configuration or objects passed to the template engine.
&amp;gt; An attacker controlling the template string can achieve arbitrary code execution without any additional requirements.&lt;/p&gt;
&lt;p&gt;Additional methods provided by the application or installed gems can further expand the attack surface but exploitation was proven without them.&lt;/p&gt;
&lt;p&gt;## PoC
All discovered payloads were tested using `ruby -e` shell commands with `mustache` as the only explicitly required gem:&lt;/p&gt;
&lt;p&gt;```bash
ruby -e &amp;#39;require &amp;#34;mustache&amp;#34;; puts Mustache.render(&amp;#34;PAYLOAD GOES HERE&amp;#34;, key: &amp;#34;value&amp;#34;)&amp;#39;
```&lt;/p&gt;
&lt;p&gt;For initial information release, only the descriptions of the mos…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-5hrj-7fc3-cmx9</guid>
    </item>
  </channel>
</rss>
