Threat Advisory

Variant Export in KiCad MCP Pro Writes Files Outside Workspace Root

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: Medium
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-141546 with a CVSS score of 5.0 is a path traversal vulnerability in the variant export tools of kicad-mcp-pro. The flaw occurs because the variant and output_name arguments are joined to an output directory without validating traversal sequences or absolute paths, allowing writes to escape KICAD_MCP_WORKSPACE_ROOT. An attacker who can invoke the affected MCP tools, typically with a schematic-capable profile and an active project, can supply crafted variant or output_name values to create, overwrite, or direct files and directories outside the intended workspace. The attack is local, requires low privileges and user interaction, and does not require a KiCad GUI, IPC connection, second user, or authentication. Successful exploitation compromises integrity by corrupting project artifacts, replacing expected outputs, or writing arbitrary files in locations controlled by the attacker. This can undermine the promised workspace safety boundary, disrupt engineering workflows, damage design data, and create a foothold for further unauthorized modification of files on the host.

RECOMMENDATION:

We recommend you to update kicad-mcp-pro to version 4.20.1 or later.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-141546 with a CVSS score of 5.0 is a path traversal vulnerability in the variant export tools of kicad-mcp-pro. The flaw occurs because the variant and output_name arguments are joined to an output directory without validating traversal sequences or absolute paths, allowing writes to escape KICAD_MCP_WORKSPACE_ROOT. An attacker who can invoke the affected MCP tools, typically with a schematic-capable profile and an active project, can supply crafted variant or output_name values to create, overwrite, or direct files and directories outside the intended workspace. The attack is local, requires low privileges and user interaction, and does not require a KiCad GUI, IPC connection, second user, or authentication. Successful exploitation compromises integrity by corrupting project artifacts, replacing expected outputs, or writing arbitrary files in locations controlled by the attacker. This can undermine the promised workspace safety boundary, disrupt engineering workflows, damage design data, and create a foothold for further unauthorized modification of files on the host.

RECOMMENDATION:

We recommend you to update kicad-mcp-pro to version 4.20.1 or later.[emaillocker id="1283"]

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu