Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. mustache
  4. ›
  5. CVE-2026-130001

CVE-2026-130001: Mustache for Ruby: RCE using built-in method access

November 18, 2026

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 →

Affected versions

All versions before 1.1.3

Fixed versions

  • 1.1.3

Solution

Upgrade to version 1.1.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-913: Improper Control of Dynamically-Managed Code Resources

Source file

gem/mustache/CVE-2026-130001.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 19 Nov 2026 00:17:33 +0000.