CVE-2026-141546

KiCad MCP variant exports could write outside the workspace

oaslananka · kicad-mcp-pro

First documented disclosure · Review checkpoint

Summary

Export arguments could escape the configured project output boundary.

Severity and exploitation evidence

Medium · 5.0/10 · CVSS 3.1. Severity source.

Exploitation not established: The reviewed originals establish a reported weakness or controlled demonstration; malicious exploitation and victim compromise are not established. No product, model or proof of concept was executed for this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Unvalidated variant or output_name values are appended after the output-directory safety check.

Conditions required

A caller can invoke variant exports with an active project and a schematic-capable profile; the tools are absent from the default profile.

Potential impact

Files or directories outside the workspace can be created or overwritten. No file-reading primitive is established.

Affected versions and configurations

kicad-mcp-pro: < 4.20.1

Fix and mitigation status

4.20.1.

Practical next steps

Upgrade and restrict export tools and host filesystem permissions.

Operating lesson

Validate the final destination after all user-controlled path parts are joined.

Evidence and limits

CVE publication: 2026-12-02. The disclosure date uses the earliest explanatory public source verified in this review; database ingestion is separate. The researcher demonstrated file writes and separately used a simulated CLI for some output_name cases; no live model or malicious exploitation was demonstrated. CVSS 3.1 5 is the GitHub_M CNA assessment.

Sources