CVE-2026-86541
7.2high
knowns before 0.30.0 Path Traversal via code.replace MCP action
- Severity
- 7.2high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| knowns-dev knowns | before 0.30.0 Not affected: 0.30.0 | CVE List |
All scores
| VulnCheck | 7.2high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-86541 changed 2026-09-24 | CVE Terms of Use |
| NVD | CVE-2026-86541 changed 2026-09-10 | Public domain |