Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions gems/mustache/CVE-2026-130001.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
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/bb646c7a5d64bfc3eb73382ef0eb8e145bbb1e52
- https://github.com/mustache/mustache/commit/b015f866942a6eb45ce4d34009f2ba6ff16ce4c1
Comment thread
jasnow marked this conversation as resolved.
Resolved
- 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