{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-141546",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-12-01T21:16:36.622Z",
        "datePublished": "2026-12-02T18:51:54.701Z",
        "dateUpdated": "2026-12-02T20:02:46.820Z"
    },
    "containers": {
        "cna": {
            "title": "KiCad MCP Pro: Variant export tools write outside KICAD_MCP_WORKSPACE_ROOT via unvalidated variant and output_name arguments",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "lang": "en",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "NONE",
                        "baseScore": 5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/oaslananka/kicad-mcp-pro/security/advisories/GHSA-wfmg-598x-58c5",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/oaslananka/kicad-mcp-pro/security/advisories/GHSA-wfmg-598x-58c5"
                },
                {
                    "name": "https://github.com/oaslananka/kicad-mcp-pro/pull/1806",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/oaslananka/kicad-mcp-pro/pull/1806"
                },
                {
                    "name": "https://github.com/oaslananka/kicad-mcp-pro/commit/1ddb8ce1d3a8a67d4670f947a582d07c9ba29130",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/oaslananka/kicad-mcp-pro/commit/1ddb8ce1d3a8a67d4670f947a582d07c9ba29130"
                },
                {
                    "name": "https://github.com/oaslananka/kicad-mcp-pro/releases/tag/mcp-server-v4.20.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/oaslananka/kicad-mcp-pro/releases/tag/mcp-server-v4.20.1"
                }
            ],
            "affected": [
                {
                    "vendor": "oaslananka",
                    "product": "kicad-mcp-pro",
                    "versions": [
                        {
                            "version": "< 4.20.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-02T18:51:54.701Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-wfmg-598x-58c5",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/oaslananka/kicad-mcp-pro/security/advisories/GHSA-wfmg-598x-58c5",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-02T20:01:48.719864Z",
                                "id": "CVE-2026-141546",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-02T20:02:46.820Z"
                }
            }
        ]
    }
}