CVE-2026-30632: knowns-dev knowns directory traversal in create_doc tool

CVE-2026-30632 · Severity: info · CVSS 5.3 · Published 2026-07-21

Knowns is a tool used to manage documentation and project data for AI agents. A security flaw allows an attacker to trick the system into creating folders and markdown files in unauthorized locations on the computer's storage. While the attacker cannot run malicious code or overwrite existing files, they can clutter the system or potentially manipulate how the AI agent views the project structure.

Technologies: Knowns-Dev Knowns. Vendors: Knowns-Dev.

Quick answers

Is CVE-2026-30632 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-30632 being exploited in the wild.
How severe is CVE-2026-30632?
Informational severity, with a CVSS score of 5.3, published 21 July 2026.
Which products and versions are affected?
Knowns-Dev Knowns 0.11.4.
Is there a fix for CVE-2026-30632?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-30632 attacked?
It is attacked over the network or with local access, in a software library.
Am I affected by CVE-2026-30632?
Check whether you run Knowns-Dev Knowns at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A directory traversal vulnerability exists in knowns-dev/knowns 0.11.4 within the 'create_doc' MCP tool. The 'folder' parameter in the tool handler only strips leading and trailing slashes but fails to sanitize '../' sequences, allowing an attacker to escape the intended '.knowns/docs/' directory. While the file extension is hardcoded to '.md' and existing files cannot be overwritten, an attacker can create arbitrary directories and write markdown files to any writable location on the filesystem. This can be further exploited by chaining with the 'set_project' tool to hijack the project root by creating a malicious '.knowns/' structure in a new location.

Affected products

  • knowns-dev knowns 0.11.4

Timeline

  • 2026-02-12: other: Vulnerability discovered and PoC created
  • 2026-07-21: disclosed: CVE published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.