CVE-2026-86541
knowns before 0.30.0 Path Traversal via code.replace MCP action
CVSS Score
8.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | knowns-dev |
| Product | knowns |
| Published | Sep 7, 2026 |
| Last Updated | Sep 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for knowns-dev knowns
Be the first to know when new high vulnerabilities affecting knowns-dev knowns are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High
Affected Versions
knowns-dev / knowns
0 < 0.30.0
References
github.com: https://github.com/knowns-dev/knowns/security/advisories/GHSA-f539-xgc6-xw7q github.com: https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/mcp/handlers/code.go#L588-L646 github.com: https://github.com/knowns-dev/knowns/commit/a2c98fc5c313463576c9348beeec6a74ddd7333b github.com: https://github.com/knowns-dev/knowns/releases/tag/v0.30.0 vulncheck.com: https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-code-replace-mcp-action
Credits
๐ Tong Hoang Gia (uziii2208) ๐ Nguyen Huy Hoang (hoanggxyuuki)