<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-11-22T15:42:47.094097+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-5hrj-7fc3-cmx9</id>
    <title>GHSA-5hrj-7fc3-cmx9 — Mustache for Ruby: RCE using built-in method access</title>
    <updated>2026-11-22T15:42:47.095215+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> RubyGems: mustache</p>
<p>&gt; [!NOTE]
&gt; The vulnerability was fully disclosed to the maintainer in private prior to security advisories were enabled for the project.
&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.</p>
<p>## 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.</p>
<p>## Details
Mustache is often suggested as a safe simple template language to avoid SSTI vulnerabilities.[^1] [^2]</p>
<p>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.</p>
<p>&gt; [!IMPORTANT]
&gt; Successful exploitation of this vulnerability does not depend on any configuration or objects passed to the template engine.
&gt; An attacker controlling the template string can achieve arbitrary code execution without any additional requirements.</p>
<p>Additional methods provided by the application or installed gems can further expand the attack surface but exploitation was proven without them.</p>
<p>## PoC
All discovered payloads were tested using `ruby -e` shell commands with `mustache` as the only explicitly required gem:</p>
<p>```bash
ruby -e 'require "mustache"; puts Mustache.render("PAYLOAD GOES HERE", key: "value")'
```</p>
<p>For initial information release, only the descriptions of the mos…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-5hrj-7fc3-cmx9"/>
  </entry>
</feed>
