Vulnerability library
Security checkSeptember 25, 2026

Knowns Unrestricted Path Traversal leading to out-of-bounds arbitrary .md file read, write, and deletion in MCP Docs + M

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmknowns

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Verified. Multiple Unrestricted Path Traversal vulnerabilities exist in the Knowns MCP docs and memory tools, allowing arbitrary file read, write, and deletion operations outside the project sandbox. The storage layer functions (Get, Create, Update, Rename, Delete) in both doc_store.go and memory_store.go concatenate user-controlled paths with filepath.Join() without any containment validation.

Recommendation

Update the knowns package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 0.29.1
  • Patched version(s): 0.30.0

References

Could your website be exposed too?

SmartScanner can check your website for Knowns Unrestricted Path Traversal leading to out-of-bounds arbitrary .md file read, write, and deletion in MCP Docs + M and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 25, 2026