{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-86538","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-09-07T22:18:47.017Z","datePublished":"2026-09-07T23:03:17.221Z","dateUpdated":"2026-09-24T14:21:22.089Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-09-24T14:21:22.089Z"},"datePublic":"2026-08-16T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22","type":"CWE"}]}],"affected":[{"vendor":"knowns-dev","product":"knowns","defaultStatus":"unaffected","packageURL":"pkg:npm/knowns","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"0.30.0"},{"version":"0.30.0","status":"unaffected","versionType":"semver"}]}],"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"}}],"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"},{"name":"VulnCheck Advisory: knowns before 0.30.0 Path Traversal via templateFile parameter","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-parameter"}],"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":[{"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"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-09-14T19:33:06.700Z"}}]}}