RubySec

Providing security resources for the Ruby community

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

Mustache for Ruby - RCE using built-in method access

Published: November 18, 2026

SECURITY IDENTIFIERS

GEM

mustache

SEVERITY

CVSS v3.x: 9.8 (Critical)

PATCHED VERSIONS

>= 1.1.3

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.

RELATED