Description
knowns before 0.30.0 fails to validate import names in the import routes, allowing unauthenticated attackers to write files outside the imports directory. Attackers can supply traversal sequences in the name parameter to escape the imports directory and overwrite arbitrary files writable by the server process.
Published: 2026-09-07
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from improper validation of the 'name' parameter in the import routes of knowns. Attackers who can send HTTP requests to the import endpoint can craft path traversal sequences that cause the server to write files outside the intended imports directory. This could allow the attacker to overwrite any file that is writable by the server process, including configuration files or scripts that the server later executes. The flaw is a classic directory traversal (CWE‑22) and results in uncapped write permissions.

Affected Systems

Knowns versions earlier than 0.30.0 are affected. The earliest publicly available version referenced in the advisory is 0.29.1, and any release prior to the 0.30.0 tag carries the flaw. The product is the open‑source 'knowns' server developed by the knowns‑dev team. Admins running any such version should assess whether the import API is exposed to unauthenticated clients.

Risk and Exploitability

The CVSS score of 8.8 classifies the flaw as High severity, and the lack of an EPSS score does not indicate low exploitation probability, especially because the flaw is exploitable without authentication. Based on the description, an attacker could create or replace files that the server later processes, potentially leading to remote code execution if the overwritten file is a script or binary executed by the process. The vulnerability is not yet listed in CISA's KEV catalog, but the attack surface is large: anyone able to reach the import URL can supply a crafted name value.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the knowns installation to version 0.30.0 or newer, where import names are properly validated.
  • Lock down the import API so that only authenticated users with appropriate permissions can invoke it.
  • Ensure the directory where imports are stored has restrictive write permissions and does not contain files that the server could execute, or implement a whitelist of allowable file names.

Generated by OpenCVE AI on September 8, 2026 at 00:50 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 before 0.30.0 fails to validate import names in the import routes, allowing unauthenticated attackers to write files outside the imports directory. Attackers can supply traversal sequences in the name parameter to escape the imports directory and overwrite arbitrary files writable by the server process.
Title knowns before 0.30.0 Path Traversal via Import Name
Weaknesses CWE-22
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Knowns-dev Knowns
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-86542

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-86542

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T01:00:12Z

Weaknesses
  • CWE-22

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