Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-86538 – Unauthenticated Arbitrary File Read (Path Traversal) – knowns before 0.30.0

Be the first to know when new zero-days emerge:

Summary

CVE-2026-86538 is a path traversal vulnerability (CWE-22) in knowns, an open-source, self-hostable "memory layer" tool that gives AI assistants persistent, structured access to a software project’s knowledge base. The flaw resides in the POST /api/templates/preview endpoint, where the templateFile parameter is not properly sanitized, allowing an unauthenticated remote attacker to read arbitrary files from the host filesystem. The issue affects all versions prior to 0.30.0 and carries a CVSS score of 8.7 (High).

Technical details

  • Root cause: The templateFile parameter passed to the POST /api/templates/preview endpoint is used to build a filesystem path without adequate validation or canonicalization, permitting directory traversal sequences (e.g., ../).
  • Trigger conditions: No authentication or special privileges are required to reach the vulnerable endpoint; an attacker simply issues a crafted HTTP POST request containing traversal sequences in templateFile.
  • Attack vector: Network — the endpoint is exposed over HTTP(S) as part of the knowns REST API and can be reached by any party with network access to the service.
  • Impact: Successful exploitation returns the contents of arbitrary files on the host (including credentials, configuration files, and other sensitive data) within the JSON response, resulting in a high confidentiality impact with no direct effect on integrity or availability.
  • The vendor’s own release notes for version 0.30.0 indicate this path traversal issue was fixed alongside several other vulnerabilities (including RCE and SSRF issues) that were remediated in the same release.

Affected software

  • Product: knowns (npm package knowns, vendor knowns-dev)
  • Affected versions: All versions prior to 0.30.0
  • Fixed version: 0.30.0 and later

Severity

  • CVSS v3.1 Base Score: 7.5 (High) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • CVSS v4.0 Score: 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

Mitigation and recommended actions

  • Immediate: Upgrade knowns to version 0.30.0 or later, where the path traversal in the templates preview endpoint has been remediated.
  • If immediate patching is not possible:
    • Restrict network access to the knowns service (e.g., bind to localhost or place behind a firewall/VPN) so that the /api/templates/preview endpoint is not reachable from untrusted networks.
    • Monitor and block requests to /api/templates/preview containing path traversal sequences (../, encoded variants) via a web application firewall or reverse proxy rule as a temporary compensating control.
    • Audit exposed instances for evidence of unexpected file-read requests in access logs.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge