CVE-2026-86541
JSON

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 packageVersionsReported by
knowns-dev knownsbefore 0.30.0
Not affected: 0.30.0
CVE List

All scores

VulnCheck7.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-86541 changed 2026-09-24CVE Terms of Use
NVDCVE-2026-86541 changed 2026-09-10Public domain