llamaCVEVulnerability Intelligence
/
knowns

CVE-2026-86538

knowns arbitrary file read via path traversal in template preview

Unauthenticated attackers can read credentials and config files by sending traversal sequences in templateFile.

Afecta la configuración por defectoParche disponiblepath traversal
Descargar PNG JSON
CVSS 4.0
8.7
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónExploit públicoSSVC de CISA-ADP decía «ninguna» · ajustado por exploit detectado
Exploits públicos11 fuente
Parche1 versiónPrimer parche a -22 d de la divulgación
Exposición74 dDesde la divulgación, 7 sept 2026, 6:03 p. m.
Detección44 dDesde la divulgación hasta su ingreso al índice
Decisión SSVC · ajustadaSeguir de cerca
Monitorear y programar la remediación
Exploit público disponible (1), automatizable e impacto técnico parcial. Decisión recalculada: la evaluación SSVC original indicaba explotación «ninguna». Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Parche 0.30.0
Monitoreo
Detectada
Fuente: OSV
Fuente: Nuclei templates +1
16 ago 26
7 sept 26
14 sept 26
24 sept 26
22 oct 26
23 oct 26
17 nov 26
21 nov 26
16 ago 26
10 sept 26
4 oct 26
28 oct 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.30.0 knowns · -22 d desde divulgación
Divulgación Publicada CVE-2026-86538 divulgada · CVSS 8.7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Fuente: Nuclei templates Registro visto por primera vez en Nuclei templates
Monitoreo Verificada Última verificación contra las fuentes
Resumen

knowns versions before 0.30.0 contain a path traversal vulnerability in the POST /api/templates/preview endpoint that allows unauthenticated attackers to read arbitrary files. Attackers can supply directory traversal sequences in the templateFile parameter to bypass path restrictions and read sensitive files like credentials and configuration through the JSON response.

Affects knowns versions before 0.30.0 when the server runs without a password, which leaves the POST /api/templates/preview endpoint's auth middleware as a no-op. Fixed in 0.30.0.

¿Qué significa?The templateFile parameter of the POST /api/templates/preview endpoint does not keep file access inside the template directory. A path traversal there lets a request read arbitrary files on the host, and their contents are returned in the JSON response.
¿Quién está afectado?Knowns versions before 0.30.0 are affected. The reported setup is a server started without a password, because the auth middleware is a no-op when no password is set. Check the installed knowns version and whether the server has a password configured.
¿Qué hacer?Upgrade knowns to 0.30.0, the fixed version named in the v0.30.0 release notes.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
knowns versions before 0.30.0“knowns versions before 0.30.0 contain a path traversal vulnerability in the POST /api/templates/preview endpoint”
02
Server started without a password, so the auth middleware is a no-op“AuthManager.Middleware is a no-op when !am.HasPassword()”
¿Quién debe revisar?Teams running the knowns npm package before 0.30.0, especially servers started without a password
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:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
knowns< 0.30.0
0.30.0
0.35.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmknowns
Corregida 0.30.0 -22 d 0.35.0 no afectada
Versiones corregidas0.30.0
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
http/cves/2026/CVE-2026-86538.yaml
1
PoC en GitHub
—
0
Referencias
Fabricantehttps://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3
Parchehttps://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4e
Exploithttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-86538.yaml
Otrahttps://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/templates.go#L299-L310
Otrahttps://github.com/knowns-dev/knowns/releases/tag/v0.30.0
Otrahttps://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-parameter

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