Skip to main content

knowns CVE-2026-86538

| EUVDEUVD-2026-72556 HIGH
Path Traversal (CWE-22)
2026-09-07 VulnCheck GHSA-g3m9-72x4-rrgv
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover network-exposed knowns API
  2. Delivery
    Send POST /api/templates/preview with traversal templateFile
  3. Exploit
    Server reads arbitrary file without path validation
  4. Execution
    File contents returned in JSON response
  5. Persist
    Harvest credentials or config secrets
  6. Impact
    Leverage 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 (/api/templates/preview) and parameter name (templateFile). Exploitation is bounded by the OS-level read permissions of the user running the knowns process - files owned by other users with restrictive permissions (e.g., root-only readable secrets) may not be retrievable, but application-layer secrets such as database URIs, API tokens, and TLS private keys stored in the application directory are typically readable by the application process and therefore directly exfiltrable.

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 POST /api/templates/preview request with templateFile=../../../../etc/passwd (or targeting application credential files such as .env or database config) to a network-reachable knowns instance below v0.30.0. The server reads the target file without path validation and returns its contents embedded in the JSON response body. No exploit tooling is confirmed public, but standard HTTP clients (curl, Burp Suite) are sufficient to execute this attack.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

knowns 0 <0.30.0

Affected Packages

euvd knowns fix: 0.30.0

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

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Rare
obscure open-source project, small known deployment footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Knowns

View all
CVE-2026-86543 CRITICAL
9.3 Sep 07

Missing authentication in Knowns (knowns-dev/knowns) before 0.30.0 exposes the management API on all network interfaces

CVE-2026-88899 CRITICAL
9.3 Sep 10

External control of a filesystem path in Knowns (knowns-dev/knowns) before 0.31.0 lets remote attackers escape the proje

CVE-2026-86775 HIGH
8.8 Sep 09

Path traversal in the knowns npm documentation tool (versions ≤ 0.29.1) enables remote unauthenticated attackers to read

CVE-2026-86542 HIGH
8.8 Sep 07

Path traversal in knowns before v0.30.0 permits unauthenticated remote attackers to write files outside the designated i

CVE-2026-86439 HIGH POC
8.7 Sep 07

Path traversal in knowns (a Go-based MCP-integrated knowledge management server) before version 0.30.0 allows authentica

CVE-2026-88939 HIGH
8.7 Sep 10

Privilege escalation in knowns through 0.33.0 permits authenticated read-only agent sessions to bypass authorization con

CVE-2026-88937 HIGH
8.6 Sep 10

Path traversal in the knowns code generation template engine (versions through 0.33.0) allows unauthenticated remote att

CVE-2026-86540 HIGH POC
8.5 Sep 07

Arbitrary binary execution in knowns before 0.30.0 is triggered when a developer opens a repository containing a crafted

CVE-2026-86541 HIGH
7.2 Sep 07

Path traversal in the knowns MCP server's handleCodeReplace() function allows unauthenticated network attackers to overw

CVE-2026-86544 HIGH
7.2 Sep 07

Authorization bypass in knowns before v0.30.0 allows low-privileged users holding read-restricted sessions to escalate p

CVE-2026-88938 HIGH
7.1 Sep 10

Path traversal in knowns through version 0.33.0 allows authenticated AI agent sessions to read arbitrary files anywhere

CVE-2026-86539 MEDIUM
6.9 Sep 07

Server-side request forgery in Knowns ≤0.33.0 enables unauthenticated remote attackers to make the server issue outbound

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy