Skip to main content
CVE-2026-141546VulnerabilityPublished

KiCad MCP Pro: Variant export tools write outside KICAD_MCP_WORKSPACE_ROOT via unvalidated variant and output_name

Affects kicad-mcp-proSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141546· Medium 5.0

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

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIkicad-mcp-proAffected
  • <4.20.1
Fixed in
  • 4.20.1

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

Community reviews

Loading reviews…