Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover network-exposed knowns API
-
DeliverySend POST /api/templates/preview with traversal templateFile
-
ExploitServer reads arbitrary file without path validation
-
ExecutionFile contents returned in JSON response
-
PersistHarvest credentials or config secrets
-
ImpactLeverage stolen credentials for follow-on access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special configuration or authentication is required. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N confirms unauthenticated remote exploitation against any default deployment of knowns before v0.30.0 where the API is network-accessible. The attacker need only know the endpoint path ( |
| Impact | The CVSS 4.0 score of 8.7 with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N accurately characterizes the threat: the endpoint requires no authentication and is reachable over the network with no preconditions, delivering high confidentiality impact through a direct file-read primitive. EPSS data is not available in the provided input, so exploitation probability beyond the CVSS signal cannot be quantified. No CISA KEV listing is present, and no public proof-of-concept is confirmed - however, the attack primitive (path traversal returning file content in JSON) is one of the most commonly and easily reproduced vulnerability classes. Even a mid-sized municipal IT team in mielec running an internet-exposed knowns instance should treat this as an urgent upgrade, given the zero-authentication, zero-complexity exploitation path and the direct credential-exfiltration outcome. The primary limiting factor for real-world risk is the niche deployment footprint of the knowns project itself - wide exposure is unlikely, but any exposed instance is fully compromisable at the confidentiality level. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Path traversal in the knowns template-preview API (versions before 0.30.0) allows unauthenticated remote attackers to read arbitrary server-side files by injecting directory traversal sequences into the templateFile parameter of POST /api/templates/preview, with file contents returned directly in the JSON response. Sensitive targets include credential files, database configuration, and API keys accessible to the knowns process user. No active exploitation has been confirmed (not in CISA KEV), and no public proof-of-concept exploit is identified in available data, though the attack class is trivially executable with any HTTP client against an exposed instance.
RemediationAI
Upgrade knowns to v0.30.0 or later, which introduces the safepath package providing robust path confinement with rejection of traversal sequences, symlink escapes, and platform-specific bypass variants. The patch commit is 09c5a96fd5817b941dc86669278c1a17db10ed4e and the release is tagged at https://github.com/knowns-dev/knowns/releases/tag/v0.30.0. If immediate patching is not feasible, restrict network access to POST /api/templates/preview via reverse-proxy ACLs or firewall rules, limiting it to trusted IP ranges only - this eliminates the unauthenticated remote attack surface at the cost of making template previews unavailable to external clients. Additionally, ensure the knowns process runs under a dedicated low-privilege OS user account so that readable files are confined to the application's own directory tree, limiting credential exposure even if traversal succeeds.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
knowns is a Go-based application maintained by knowns-dev (CPE: cpe:2.3:a:knowns-dev:knowns). The vulnerability is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the POST /api/templates/preview route handler in internal/server/routes/templates.go (lines 299-310, v0.29.1) passes the caller-supplied templateFile parameter directly to a file-read operation without canonicalizing or bounding it against a trusted root directory. Standard ../ traversal sequences allow an attacker to escape the intended template directory. The fix in v0.30.0 introduces a dedicated safepath package (commit 09c5a96f) that explicitly rejects .. path segments, absolute paths, NUL bytes, Windows volume prefixes, NTFS alternate data stream colons, and symlink escapes by resolving the candidate path to its canonical form and verifying it remains within the authorized root.
Know when Knowns gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-accessible unauthenticated read-only file disclosure with no integrity or availability impact yields PR:N/AC:L/C:H/I:N/A:N/S:U.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Technical POC Analysis
Advisory GHSA-fpxv-c555-rhm3 (the advisory text itself says "No known CVE"; CVE-2026-86538 is the identifier supplied in the brief).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The knowns template-preview service contains a critical path traversal flaw (CVE-2026-86538, CVSS 8.7) that allows unauthenticated attackers to remotely read arbitrary files from affected servers, including database credentials, API keys, and configuration data. Any organization running knowns prior to version 0.30.0 without network segmentation faces immediate risk of credential exposure and potential system compromise. This vulnerability requires no authentication and can be exploited with simple HTTP requests.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Missing authentication in Knowns (knowns-dev/knowns) before 0.30.0 exposes the management API on all network interfaces
External control of a filesystem path in Knowns (knowns-dev/knowns) before 0.31.0 lets remote attackers escape the proje
Path traversal in the knowns npm documentation tool (versions ≤ 0.29.1) enables remote unauthenticated attackers to read
Path traversal in knowns before v0.30.0 permits unauthenticated remote attackers to write files outside the designated i
Path traversal in knowns (a Go-based MCP-integrated knowledge management server) before version 0.30.0 allows authentica
Privilege escalation in knowns through 0.33.0 permits authenticated read-only agent sessions to bypass authorization con
Path traversal in the knowns code generation template engine (versions through 0.33.0) allows unauthenticated remote att
Arbitrary binary execution in knowns before 0.30.0 is triggered when a developer opens a repository containing a crafted
Path traversal in the knowns MCP server's handleCodeReplace() function allows unauthenticated network attackers to overw
Authorization bypass in knowns before v0.30.0 allows low-privileged users holding read-restricted sessions to escalate p
Path traversal in knowns through version 0.33.0 allows authenticated AI agent sessions to read arbitrary files anywhere
Server-side request forgery in Knowns ≤0.33.0 enables unauthenticated remote attackers to make the server issue outbound
EUVD-2026-72556
GHSA-g3m9-72x4-rrgv
NVD
CVE.org
EPSS
Exploit-DB