CVE-2026-141546
KiCad MCP Pro: Variant export tools write outside KICAD_MCP_WORKSPACE_ROOT via unvalidated variant and output_name arguments
Description
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.
INFO
Published Date :
Dec. 2, 2026, 7:18 p.m.
Last Modified :
Dec. 2, 2026, 7:18 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update KiCad MCP Pro to version 4.20.1.
- Ensure variant export tools are not exposed.
- Validate all user inputs for export tools.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-141546.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-141546 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-141546
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-141546 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-141546 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Dec. 02, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N Added CWE CWE-22 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/141xxx/CVE-2026-141546.json">CVE-2026-141546</a> Added Reference https://github.com/oaslananka/kicad-mcp-pro/commit/1ddb8ce1d3a8a67d4670f947a582d07c9ba29130 Added Reference https://github.com/oaslananka/kicad-mcp-pro/pull/1806 Added Reference https://github.com/oaslananka/kicad-mcp-pro/releases/tag/mcp-server-v4.20.1 Added Reference https://github.com/oaslananka/kicad-mcp-pro/security/advisories/GHSA-wfmg-598x-58c5