Skip to content

CVE-2026-120203: ShowDoc MockController Remote Code Execution via Template Sandbox Escape

Density:
C-Level Executive Briefing CVE-2026-120203 CRITICAL SCORE 94/100

A critical server-side template injection and code execution vulnerability (CVE-2026-120203) affects ShowDoc versions 2.8.14 prior to 3.9.6. Attackers submitting custom mock API response schemas can break out of template sandbox constraints, executing arbitrary operating system commands with web server privileges. Because ShowDoc often stores sensitive corporate API specifications and tokens, immediate update to version 3.9.6 is essential.

HYBRID

HERMES THREAT SCORE & ENTERPRISE EXPOSURE EVALUATION

Target: ShowDoc MockController Template Engine (< 3.9.6)
Confidence: 98%
94 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 18 / 20
Weaponization 20 / 20
Exposure 19 / 20
Prevalence 18 / 20
Impact 20 / 20
Exploit Maturity 19 / 20
Attack Chain Potential 18 / 20

ShowDoc provides an interactive Mock service allowing API developers to generate dynamic JSON responses based on template rules. Inside server/Application/Api/Controller/MockController.class.php, incoming mock rule definitions were passed to a dynamic evaluator without adequate sandboxing.

Adversaries submit a mock definition enclosing template escape delimiters. Upon invoking the mock endpoint over HTTP, the engine evaluates the expression, spawning arbitrary shell processes on the host.

  1. Apply Software Update: Upgrade ShowDoc installations to release 3.9.6 or later where template evaluation is replaced with a static JSON schema generator.
  2. Disable Public Mocking: Where mock servers are publicly exposed to the internet, disable the mock route or restrict access to authenticated internal developer IP ranges.
  3. Inspect Application Directory: Check the server/Application/Runtime directory for anomalous webshell scripts or persistent reverse shell artifacts.
๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-120203: ShowDoc MockController Remote Code Execution via Template Sandbox EscapeVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTApache Roller Weblog Server
98% VERY_HIGH

Software platform affected by security vulnerabilities and agentic attack patterns.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Apache Roller Weblog Server documented in Hermes dossier.”

Supporting Verified Evidence: