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.
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
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmknowns |
Corregida | 0.30.0 | -22 d | 0.35.0 no afectada |
0.30.0Arsenal público
https://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3https://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4ehttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-86538.yamlhttps://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/templates.go#L299-L310https://github.com/knowns-dev/knowns/releases/tag/v0.30.0https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-parameterLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
