CVE-2026-141546
KiCad MCP Pro
- Severity
- Medium
- Published
- December 2, 2026
- Last modified
- December 2, 2026
KiCad MCP Pro is an MCP server connecting AI agents to KiCad schematic and PCB workflows. Prior to 4.20.1, variant_export_bom, variant_export_schematic, and variant_export_manufacturing_package in src/kicad_mcp/tools/variants.py join unvalidated variant or output_name values to the output directory after the workspace check. A caller able to invoke these tools can use traversal or an absolute path to create directories or write and overwrite files outside KICAD_MCP_WORKSPACE_ROOT. Exploitation requires an active project and a schematic-capable profile; the tools are not in the default profile. No confidentiality impact is claimed. This issue is fixed in version 4.20.1.
CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
- CWE-22 Path traversal
References
Listed in
Related CVEs
There is one missing normalization-and-classification pass in isBlockedIp.
The Express-based HTTP transport exposes an MCP endpoint that does not validate the Origin or Host header of incoming requests.
Ckan_list_resources (with check_source_portal, default on) derives the destination of a server-side HTTP request from response data rather than from caller input.
Tool output is assembled from portal-controlled fields without any output-encoding step. ckan_package_show and the sibling renderers insert dataset title, notes, resource name/description/url and group…
MakeCkanRequest fetches upstream responses into memory with no size limit and then decompresses them synchronously with no output-size limit.
On the project's shipped HTTP deployment, an unauthenticated remote attacker can make the server issue requests to internal-only addresses and read the responses.
