Security mailing lists by PureSourceCode

CVE-2026-141546

MEDIUM 5.0CVSS 3.1

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

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.

Published
2 Dec 2026
Last modified
3 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-22
Also known as
GHSA-wfmg-598x-58c5
Sources
NVDJSONCVE ListJSONOSV GHSA-wfmg-598x-58c5JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
CVE List GitHub_M CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List oaslananka kicad-mcp-pro = < 4.20.1
OSV PyPI kicad-mcp-pro < 4.20.1 4.20.1

References

History

  • 3 Dec 2026 03:06 UTC · OSV: first stored (published 3 Dec 2026)
  • 2 Dec 2026 21:25 UTC · NVD: 1 reference added
  • 2 Dec 2026 20:26 UTC · CVE List: updated (other details)
  • 2 Dec 2026 19:36 UTC · NVD: first stored (published 2 Dec 2026)
  • 2 Dec 2026 19:01 UTC · CVE List: first stored (published 2 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.