knowns before 0.30.0 Path Traversal via code.replace MCP action
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.
CVE-2026-86541
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-86541
knowns
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "knowns-dev",
"product": "knowns",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.30.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "0.30.0",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/knowns",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-86541
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #1599 · Revision 1
- Added to Heist Feed
- Publisher date