CVE-2026-86538
highknowns versions before 0.30.0 contain a path traversal vulnerability in the POST /api/templates/preview endpoint that allows unauthenticated attackers to read…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/templates.go#L299... disclosure@vulncheck.com
- https://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4e disclosure@vulncheck.com
- https://github.com/knowns-dev/knowns/releases/tag/v0.30.0 disclosure@vulncheck.com
- https://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-... disclosure@vulncheck.com
