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

Goal: 1000 CNY · Raised: 1336 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.

在 0.30.0 之前已知的版本中, 函数存在路径遍历漏洞,允许攻击者在项目根目录之外覆盖任意文件。攻击者可以通过提供绝对路径或包含目录遍历序列的相对路径,将恶意内容写入敏感文件,例如 Shell 启动脚本或 SSH 配置文件。

CVSS 8.3 · High

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
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

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