CVE-2026-86538 Details
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.
A path traversal vulnerability has been identified in Knowns versions prior to 0.30.0, specifically within the POST /api/templates/preview endpoint. This vulnerability allows unauthenticated attackers to read arbitrary files on the server. The issue arises because the endpoint accepts a user-controlled templateFile parameter and concatenates it with the template directory path using filepath.Join(). This method does not properly validate the path, allowing attackers to escape the template directory and access sensitive files such as application configurations and credentials. The file contents are then returned in the JSON response.
Users are advised to upgrade to Knowns version 0.30.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 7, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| knowns | <= 0.29.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 7, 2026 | New CVE Received | [email protected] |
Volerion