CVE-2026-120203: ShowDoc MockController Remote Code Execution via Template Sandbox Escape
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.
HERMES THREAT SCORE & ENTERPRISE EXPOSURE EVALUATION
Target:ShowDoc MockController Template Engine (< 3.9.6) 1. Technical Vulnerability Details
Section titled โ1. Technical Vulnerability Detailsโ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.
2. Remediation Strategy
Section titled โ2. Remediation Strategyโ- Apply Software Update: Upgrade ShowDoc installations to release
3.9.6or later where template evaluation is replaced with a static JSON schema generator. - 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.
- Inspect Application Directory: Check the
server/Application/Runtimedirectory for anomalous webshell scripts or persistent reverse shell artifacts.
CVE-2026-120203: ShowDoc MockController Remote Code Execution via Template Sandbox EscapeVULNERABILITY
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.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)