llamaCVEVulnerability Intelligence
/
ShowDoc

CVE-2026-120203

ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

Specific setups onlyParche disponiblecode injection
Descargar PNG JSON
CVSS 4.0
8.7
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.9.6
Exposición18 dDesde la divulgación, 31 oct 2026, 12:25 p. m.
Detección5 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: ENISA EUVD +1
Verificada
31 oct 26
2 nov 26
6 nov 26
16 nov 26
19 nov 26
31 oct 26
5 nov 26
10 nov 26
14 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-120203 divulgada · CVSS 8.7 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

ShowDoc, an open-source API documentation tool, is affected through its Mock feature. An authenticated user can exploit it to run arbitrary shell commands on the server, which in the official Docker image runs with root privileges.

Affects ShowDoc 2.8.14 through 3.9.5 only when the mock service is enabled, which the official full image does by default. No vendor rating is given. Fixed in 3.9.6.

¿Qué significa?The bug lets an attacker run operating-system commands inside the ShowDoc mock process. In the official image that process runs as root, so the application directory, the SQLite database file and the container network are exposed.
¿Quién está afectado?ShowDoc 2.8.14 through 3.9.5 is affected, but only where the mock service is enabled, which the official full image does by default. Check your installed ShowDoc version and whether the mock service is enabled.
¿Qué hacer?Upgrade ShowDoc to 3.9.6 or later, which is the fixed release.
Descripción original del registro (VulnCheck)

ShowDoc 2.8.14 before 3.9.6 contains a code injection vulnerability in its Mock feature that allows authenticated users to execute shell commands through mockjs templates. Attackers can store a template via MockController::add with escaped parentheses that mockjs evaluates with eval(), then trigger it through MockController::infoByKey to run commands, as root in the official Docker image.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects ShowDoc 2.8.14 through 3.9.5 (per the gist; the fix is in 3.9.6).“ShowDoc 2.8.14 – 3.9.5”
02
The mock service must be enabled.“Requires the mock service to be enabled; the official full image enables it by default”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
showdoc/showdoc≥ 2.8.14 < 3.9.6
2.8.14
3.9.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
showdoc/showdoc
Corregida 3.9.6 — —
Versiones corregidas3.9.6
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Parchehttps://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288
Otrahttps://gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54
Otrahttps://github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42
Otrahttps://github.com/star7th/showdoc
Otrahttps://www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-via-mock-templates

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.