CVE-2026-86538
knowns before 0.30.0 Path Traversal via templateFile parameter
- State
- Published
- Severity
- 8.7 High
- Published
- Sep 7, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
knownsknowns-dev |
|
References
- GitHub Security Advisory (GHSA-fpxv-c555-rhm3)vendor-advisory
- Template preview reads filepath.Join(tmpl.Path, templateFile) (v0.29.1)technical-description
- knowns fix commit 09c5a96fd581patch
- knowns v0.30.0 Release Notesrelease-notes
- VulnCheck Advisory: knowns before 0.30.0 Path Traversal via templateFile parameterthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.