{"id":"CVE-2026-86538","state":"PUBLISHED","title":"knowns before 0.30.0 Path Traversal via templateFile parameter","description":"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.","publishedAt":"2026-09-07T23:03:17.221Z","updatedAt":"2026-09-24T14:21:22.089Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["knowns-dev knowns"],"affected":[{"vendor":"knowns-dev","product":"knowns","packageURL":"pkg:npm/knowns","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.30.0","versionType":"semver"},{"version":"0.30.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3","https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/templates.go#L299-L310","https://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4e","https://github.com/knowns-dev/knowns/releases/tag/v0.30.0","https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-parameter"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/86xxx/CVE-2026-86538.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-86538","state":"PUBLISHED","datePublished":"2026-09-07T23:03:17.221Z","dateUpdated":"2026-09-24T14:21:22.089Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-07T22:18:47.017Z"},"containers":{"cna":{"title":"knowns before 0.30.0 Path Traversal via templateFile parameter","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"knowns-dev","product":"knowns","packageURL":"pkg:npm/knowns","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.30.0","versionType":"semver"},{"version":"0.30.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-fpxv-c555-rhm3)"},{"url":"https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/templates.go#L299-L310","tags":["technical-description"],"name":"Template preview reads filepath.Join(tmpl.Path, templateFile) (v0.29.1)"},{"url":"https://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4e","tags":["patch"],"name":"knowns fix commit 09c5a96fd581"},{"url":"https://github.com/knowns-dev/knowns/releases/tag/v0.30.0","tags":["release-notes"],"name":"knowns v0.30.0 Release Notes"},{"url":"https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-parameter","name":"VulnCheck Advisory: knowns before 0.30.0 Path Traversal via templateFile parameter","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-24T14:21:22.089Z"},"datePublic":"2026-08-16T00:00:00.000Z","credits":[{"lang":"en","value":"Tong Hoang Gia (uziii2208)","type":"finder"},{"lang":"en","value":"Nguyen Huy Hoang (hoanggxyuuki)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-86538","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-09-14T19:21:55.276497Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T19:33:06.700Z"}}]}}}