From ca290b67ef948616ea1d1a27ff82e24c2567e30d Mon Sep 17 00:00:00 2001 From: Al Snow <43523+jasnow@users.noreply.github.com> Date: Thu, 19 Nov 2026 11:20:50 -0500 Subject: [PATCH 1/2] One new mustache advisory --- gems/mustache/CVE-2026-130001.yml | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 gems/mustache/CVE-2026-130001.yml diff --git a/gems/mustache/CVE-2026-130001.yml b/gems/mustache/CVE-2026-130001.yml new file mode 100644 index 0000000000..970977227f --- /dev/null +++ b/gems/mustache/CVE-2026-130001.yml @@ -0,0 +1,39 @@ +--- +gem: mustache +cve: 2026-130001 +ghsa: 5hrj-7fc3-cmx9 +url: https://www.cve.org/CVERecord?id=CVE-2026-130001 +title: Mustache for Ruby - RCE using built-in method access +date: 2026-11-18 +description: | + ## 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. + + ## Impact + + An attacker with the ability to modify the template string can + execute arbitrary code in the context of the Ruby application. +cvss_v3: 9.8 +patched_versions: + - ">= 1.1.3" +related: + url: + - https://www.cve.org/CVERecord?id=CVE-2026-130001 + - https://rubygems.org/gems/mustache/versions/1.1.3 + - https://github.com/mustache/mustache/commit/b015f866942a6eb45ce4d34009f2ba6ff16ce4c1 + - https://hackerone.com/reports/423541 + - https://portswigger.net/knowledgebase/papers/serversidetemplateinjection.pdf + - https://advisories.gitlab.com/gem/mustache/CVE-2026-130001 + - https://github.com/mustache/mustache/security/advisories/GHSA-5hrj-7fc3-cmx9 + - https://github.com/advisories/GHSA-5hrj-7fc3-cmx9 +notes: | + - [!NOTE] The vulnerability was fully disclosed to the maintainer in + private prior to security advisories were enabled for the project. + 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. + - Based on cve.org URL, CVE is reserved but not published. + - Nothing at https://nvd.nist.gov/vuln/detail/cve-2026-130001 From a37c4e52d99903f6705902f47af6475ec8d0547b Mon Sep 17 00:00:00 2001 From: Al Snow <43523+jasnow@users.noreply.github.com> Date: Sat, 21 Nov 2026 10:13:52 -0500 Subject: [PATCH 2/2] Apply suggestion from @flavorjones Co-authored-by: Mike Dalessio --- gems/mustache/CVE-2026-130001.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/gems/mustache/CVE-2026-130001.yml b/gems/mustache/CVE-2026-130001.yml index 970977227f..81c071b1ee 100644 --- a/gems/mustache/CVE-2026-130001.yml +++ b/gems/mustache/CVE-2026-130001.yml @@ -23,6 +23,7 @@ related: url: - https://www.cve.org/CVERecord?id=CVE-2026-130001 - https://rubygems.org/gems/mustache/versions/1.1.3 + - https://github.com/mustache/mustache/commit/bb646c7a5d64bfc3eb73382ef0eb8e145bbb1e52 - https://github.com/mustache/mustache/commit/b015f866942a6eb45ce4d34009f2ba6ff16ce4c1 - https://hackerone.com/reports/423541 - https://portswigger.net/knowledgebase/papers/serversidetemplateinjection.pdf