Repository navigation
One new mustache advisory #1326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
flavorjones
merged 2 commits into
rubysec:master
from
jasnow:ghsa-syncbot-2026-11-19-10_25_19
Nov 21, 2026
+40
−0
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| - 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 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.