KiCad MCP Pro: Variant export tools write outside KICAD_MCP_WORKSPACE_ROOT via unvalidated variant and output_name
Affects kicad-mcp-proSource GCVE Database
Not known to be exploited · CVSS 5.0 Medium : upgrade to 4.20.1 when convenient.
Data as of 3 Dec 2026, 04:32 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.0 |
|---|
- Patch
- Available – fixed in 4.20.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade kicad-mcp-pro to 4.20.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIkicad-mcp-pro | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in KiCad MCP Pro version 4.20.1. Users should upgrade to this version to address the directory traversal vulnerability. Until upgraded, avoid running MCP tools with untrusted input for 'variant' or 'output_name' parameters. The vendor advisory confirms the patch status. No additional mitigations are documented or required beyond applying the official fix.
Description
KiCad MCP Pro version 4.20.0 and earlier contains a directory traversal vulnerability in its variant export tools. These tools construct output paths by concatenating unvalidated user-supplied arguments to the output directory, allowing writes outside the configured workspace root (KICAD_MCP_WORKSPACE_ROOT). This can lead to overwriting files, creating directories, and writing arbitrary files outside the intended workspace without authentication or GUI interaction. The issue persists despite prior fixes in related modules and is addressed in version 4.20.1.
References
- github.com/oaslananka/kicad-mcp-pro/security/advisories/GHSA-wfmg-598x-58c5 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-141546 (opens in a new tab)
- github.com/oaslananka/kicad-mcp-pro/pull/1806 (opens in a new tab)
- github.com/oaslananka/kicad-mcp-pro/commit/1ddb8ce1d3a8a67d4670f947a582d07c9ba29130 (opens in a new tab)
- github.com/oaslananka/kicad-mcp-pro (opens in a new tab)
- github.com/oaslananka/kicad-mcp-pro/releases/tag/mcp-server-v4.20.1 (opens in a new tab)