CVE-2026-141546
Received Received - Intake

Path Traversal in KiCad MCP Pro

Vulnerability report for CVE-2026-141546, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
kicad mcp_pro 4.20.1
oaslananka kicad_mcp_pro to 4.20.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-141546 is a path traversal vulnerability in KiCad MCP Pro versions before 4.20.1. It affects variant export tools that join unvalidated user inputs (variant or output_name) directly to the output directory. Attackers can exploit this to write or overwrite files outside the intended workspace root by using traversal sequences or absolute paths. Exploitation requires an active project, a schematic-capable profile, and an MCP tool call with malicious arguments.

Detection Guidance

Check KiCad MCP Pro version with pip show kicad-mcp-pro. If version <= 4.20.0, the system is vulnerable. Review MCP tool calls for variant_export_bom, variant_export_schematic, or variant_export_manufacturing_package with unvalidated arguments. Inspect filesystem for unexpected directories or files outside KICAD_MCP_WORKSPACE_ROOT.

Impact Analysis

This vulnerability allows attackers with access to the MCP tool to overwrite critical files, create unauthorized directories, or modify files outside the intended workspace. This could lead to data corruption, unauthorized changes to project files, or disruption of workflows. However, it does not directly expose confidential data or affect system availability.

Mitigation Strategies

Upgrade to version 4.20.1 or later. Restrict MCP tool access to trusted users. Validate all variant and output_name arguments to prevent path traversal. Monitor filesystem for unauthorized file creation outside the workspace root.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-141546. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...