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.
Published: 2026-09-07
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

knowns versions prior to 0.30.0 contain a path‑traversal flaw in the POST /api/templates/preview endpoint. By supplying directory traversal sequences in the templateFile parameter, an unauthenticated attacker can bypass the intended path restrictions and read arbitrary files, including credentials and configuration data, that are returned in the JSON response. The vulnerability is a classic file‑disclosure weakness (CWE‑22).

Affected Systems

The affected product is knowns from an open‑source project knowns‑dev. Any installation running knowns prior to version 0.30.0 is vulnerable because the POST /api/templates/preview route lacks proper path enforcement.

Risk and Exploitability

The CVSS score of 8.7 classifies the flaw as high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, making the precise exploitation probability uncertain. The likely attack vector is unauthenticated HTTP requests to the API endpoint, with an attacker crafting a templateFile value that traverses directories. Successful exploitation would grant the attacker read access to sensitive files on the host, potentially compromising credentials or configuration information. The lack of authentication requirements makes the attack trivial for any user who can reach the endpoint.

Generated by OpenCVE AI on September 8, 2026 at 00:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade knowns to version 0.30.0 or later, where the path‑traversal check has been fixed.
  • If upgrading is not immediately possible, restrict access to the /api/templates/preview endpoint by implementing firewall rules or authentication so that only trusted users can reach it.
  • Monitor API logs for repeated attempts to access /api/templates/preview with suspicious templateFile values, and investigate any anomalies to detect exploitation attempts.

Generated by OpenCVE AI on September 8, 2026 at 00:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 08 Sep 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Knowns-dev
Knowns-dev knowns
Vendors & Products Knowns-dev
Knowns-dev knowns

Mon, 07 Sep 2026 23:15:00 +0000

Type Values Removed Values Added
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.
Title knowns before 0.30.0 Path Traversal via templateFile parameter
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, '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'}


Subscriptions

Knowns-dev Knowns
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-07T23:03:17.221Z

Reserved: 2026-09-07T22:18:47.017Z

Link: CVE-2026-86538

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-07T23:16:53.443

Modified: 2026-09-07T23:16:53.443

Link: CVE-2026-86538

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T00:30:17Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')