CVE-2026-130001: Mustache for Ruby: RCE using built-in method access
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.
References
- github.com/advisories/GHSA-5hrj-7fc3-cmx9
- github.com/mustache/mustache/commit/b015f866942a6eb45ce4d34009f2ba6ff16ce4c1
- github.com/mustache/mustache/security/advisories/GHSA-5hrj-7fc3-cmx9
- hackerone.com/reports/423541
- nvd.nist.gov/vuln/detail/CVE-2026-130001
- portswigger.net/knowledgebase/papers/serversidetemplateinjection.pdf
Code Behaviors & Features
Detect and mitigate CVE-2026-130001 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →