CVE-2026-141546
KiCad MCP Pro is an MCP server connecting AI agents to KiCad …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/oaslananka/kicad-mcp-pro/commit/1ddb8ce1d3a8a67d4670f947a582d07c9ba29130
- github.com/oaslananka/kicad-mcp-pro/pull/1806
- github.com/oaslananka/kicad-mcp-pro/releases/tag/mcp-server-v4.20.1
- github.com/oaslananka/kicad-mcp-pro/security/advisories/GHSA-wfmg-598x-58c5
- nvd.nist.gov/vuln/detail/CVE-2026-141546
- github.com/advisories/GHSA-wfmg-598x-58c5
- nvd.nist.gov/vuln/detail/CVE-2026-141546
- cve.org/CVERecord?id=CVE-2026-141546
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.