Vulnerability

CVE-2026-86541

highCVSS 4.0 7.2Published 7 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /knowns-dev/knowns/blob/v0.29.1/internal/mcp/handlers/code.…
  • github.com /knowns-dev/knowns/commit/a2c98fc5c313463576c9348beeec6a74d…
  • github.com /knowns-dev/knowns/releases/tag/v0.30.0
  • github.com /knowns-dev/knowns/security/advisories/GHSA-f539-xgc6-xw7q
  • www.vulncheck.com /advisories/knowns-before-0.30.0-path-traversal-via-code-re…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning