Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-86541— knowns before 0.30.0 Path Traversal via code.replace MCP action

Quick assessment

Affected
knowns-dev knowns
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Knowns.dev Knowns是Knowns.dev组织的一款知识管理应用。 Knowns.dev Knowns 0.30.0之前版本存在路径遍历漏洞,该漏洞源于handleCodeReplace()函数存在路径遍历问题,攻击者可通过绝对路径或包含目录遍历序列的相对路径覆盖项目根目录之外的任意文件,并向shell启动脚本或SSH配置文件等敏感文件写入恶意内容。

CVSS 8.3 · High EPSS 0.77% · P55

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
knowns-dev knowns < 0.30.0 affected
0.30.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-86541

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
knowns before 0.30.0 Path Traversal via code.replace MCP action
Source: CVE Program / CVE List V5
Vulnerability Description
knowns versions before 0.30.0 contain a path traversal vulnerability in the handleCodeReplace() function that allows attackers to overwrite arbitrary files outside the project root. Attackers can supply absolute paths or relative paths containing directory traversal sequences to write malicious content to sensitive files like shell startup scripts or SSH configuration files.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Knowns.dev Knowns 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Knowns.dev Knowns是Knowns.dev组织的一款知识管理应用。 Knowns.dev Knowns 0.30.0之前版本存在路径遍历漏洞,该漏洞源于handleCodeReplace()函数存在路径遍历问题,攻击者可通过绝对路径或包含目录遍历序列的相对路径覆盖项目根目录之外的任意文件,并向shell启动脚本或SSH配置文件等敏感文件写入恶意内容。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
knowns-dev knowns 0 ~ 0.30.0 -

II. Public POCs for CVE-2026-86541

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-86541

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-86541 (1)

Vendor Advisories for CVE-2026-86541 (2)

Vendor Pages for CVE-2026-86541 (1)

Same Patch Batch · knowns-dev · 2026-09-07 · 8 CVEs total

CVE-2026-86543 9.8 CRITICAL knowns before 0.30.0 Unauthenticated Management API Exposure
CVE-2026-86542 9.1 CRITICAL knowns before 0.30.0 Path Traversal via Import Name
CVE-2026-86439 8.8 HIGH knowns before 0.30.0 Path Traversal via MCP doc and memory tools
CVE-2026-86544 8.1 HIGH knowns before 0.30.0 Authorization Bypass via Misclassified Code Actions
CVE-2026-86540 7.8 HIGH knowns before 0.30.0 Arbitrary Code Execution via LSP Binary
CVE-2026-86538 7.5 HIGH knowns before 0.30.0 Path Traversal via templateFile parameter
CVE-2026-86539 7.2 HIGH knowns through 0.33.0 Server-Side Request Forgery via embedding-models endpoint

IV. Related Vulnerabilities

V. Comments for CVE-2026-86541

No comments yet


Leave a comment