knowns before 0.30.0 Path Traversal via code.replace MCP action
knowns-dev knowns
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| knowns-dev knowns |
|
|
Original 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.
From the CVE record · VulnCheck