Skip to main content

knowns CVE-2026-88938

| EUVDEUVD-2026-75581 HIGH
Path Traversal (CWE-22)
2026-09-10 VulnCheck GHSA-629c-j52g-h978
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain or inject into AI agent session
  2. Delivery
    Craft code.find MCP call with traversal path
  3. Exploit
    knowns server resolves path without boundary check
  4. Execution
    Arbitrary host file contents returned to agent
  5. Impact
    Attacker retrieves sensitive data from agent output

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

Exploitation requires an established AI agent session with access to the knowns MCP server instance (CVSS PR:L - low privilege). The attacker must control or inject into the agent's tool-call flow to supply a crafted path argument to code.find; realistic delivery mechanisms include: (1) directly controlling the agent session (insider or compromised orchestration), or (2) prompt injection via attacker-controlled content (documents, web pages, repository files) that the agent reads and acts upon. The vulnerability is present in all default deployments of knowns through 0.33.0 where the code.find tool is enabled - no special non-default configuration is required to be vulnerable. Exploitation is strictly limited to file reads (confidentiality); there is no write or code-execution primitive within this flaw alone. The attack is constrained to hosts and containers where the knowns process has filesystem read access.

Impact

The CVSS 4.0 score of 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) accurately reflects a network-reachable read-only path traversal gated behind low-privilege access - consistent with an authenticated AI agent session. Confidentiality impact is high because the entire host filesystem is potentially readable, including credential stores, private keys, and application secrets; integrity and availability are unaffected. No EPSS data was provided in the source intelligence, and the vulnerability is absent from CISA KEV, indicating no confirmed mass exploitation. However, the exploit technique requires only a crafted string within a normal MCP tool call, meaning even a mid-sized municipal IT team in malbork operating AI coding pipelines backed by knowns should treat this as urgent patching work if their agent workflows process any untrusted external input - prompt injection is a realistic delivery mechanism. The key limiting factor is PR:L: an attacker must already control or inject into an active AI agent session, which constrains the realistic attacker population to insiders, compromised orchestration layers, or adversarial document content fed to the agent.

Exploit ScenarioDerived

An attacker who can inject adversarial content into documents processed by an AI agent session (prompt injection) crafts an instruction causing the agent to call code.find with path set to /root/.ssh/id_rsa or ../../../../etc/shadow. The knowns MCP server resolves the path without restriction and returns the file contents to the agent session, where the attacker can exfiltrate them. No public exploit code has been identified, but the technique requires only a crafted string within a standard MCP tool invocation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 10, 2026

Path traversal in knowns through version 0.33.0 allows authenticated AI agent sessions to read arbitrary files anywhere on the host filesystem by supplying absolute paths or relative traversal sequences to the code.find MCP tool's path argument. The vulnerability exists because the handler in internal/mcp/handlers/code.go performs no canonicalization or boundary enforcement before passing the caller-supplied path to the underlying OS, bypassing the intended project-root confinement entirely. No public exploit code or CISA KEV listing exists at time of analysis, though the exploit primitive is trivially simple given the CWE-22 root cause.

RemediationAI

The primary remediation is to upgrade knowns to a version beyond 0.33.0 that includes path canonicalization and project-root boundary enforcement in the code.find handler; the exact patched release version should be confirmed via the GitHub security advisory at https://github.com/knowns-dev/knowns/security/advisories/GHSA-5cj9-fcqq-g2h7, as the available intelligence does not specify an exact fix version. Until patching is possible, operators should restrict the MCP server so that only fully trusted, internally controlled agent sessions can invoke it - specifically, avoid exposing code.find to agent workflows that ingest any externally sourced documents or URLs, as these are vectors for prompt injection delivering a traversal payload. As an OS-layer compensating control, running the knowns process inside a container or chroot with a read-only bind-mount limited to the project directory will prevent traversal regardless of the application flaw, at the cost of additional infrastructure setup and potential breakage of legitimate cross-directory features.

Affected VersionsENISA

knowns 0 ≤0.33.0

Affected Packages

euvd knowns no fix

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 an MCP (Model Context Protocol) server that exposes code-search and analysis capabilities to AI agent sessions. The affected component is the code.find tool handler in internal/mcp/handlers/code.go (lines 873-902 and 1293-1354, per the referenced source commits). CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) identifies the root cause: the path argument received from the calling agent is not normalized (e.g., via filepath.Clean + prefix check) before being passed to filesystem read operations, meaning sequences like ../../etc/passwd or /root/.ssh/id_rsa resolve correctly from the OS perspective while violating the application's intended project-root sandbox. The affected CPE is cpe:2.3:a:knowns-dev:knowns:*:*:*:*:*:*:*:* covering all releases through 0.33.0.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-accessible MCP server requires an active agent session (PR:L); pure read-only traversal yields high confidentiality impact with no integrity or availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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 through 0.33.0 fails to confine the path argument of the code.find MCP tool to the project root, allowing AI agent sessions to read source files anywhere on the host. Attackers can supply absolute paths or relative traversal sequences to the path argument and retrieve full file contents from outside the intended project directory.

Technical POC Analysis

CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), with the advisory also tagging CWE-284.

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

Knowns versions through 0.33.0 contain a path traversal vulnerability allowing authenticated users to read arbitrary files from the server, creating significant information disclosure risk. An attacker with valid credentials can bypass project-level access controls to exfiltrate sensitive data including configuration files, credentials, and proprietary code. With no vendor patch currently available, immediate containment measures are required.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: disable or isolate the code.find MCP tool if not business-critical; run Knowns in a containerized environment with restricted filesystem permissions; implement host-level access controls (SELinux/AppArmor) to limit file access to project directories only; restrict authentication to a minimal set of trusted users; monitor file access logs for suspicious path traversal patterns.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche AI coding assistant MCP server, limited enterprise footprint
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 No
EPSS 0.3%
Patch available No
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
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
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-86538 HIGH POC
8.7 Sep 07

Path traversal in the knowns template-preview API (versions before 0.30.0) allows unauthenticated remote attackers to re

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