KiCad Project Archive Handling Vulnerability Leads to Remote Code Execution
A directory traversal vulnerability in KiCad's project archive file handling allows remote code execution, with a CVSS score of 7.8.

A critical vulnerability has been disclosed in the popular open-source electronics design automation suite, KiCad, which allows for remote code execution. The flaw, identified as ZDI-26-957 and assigned CVE-2026-126971, stems from improper handling of project archive files.
Specifically, the vulnerability lies in KiCad's failure to adequately validate user-supplied paths when processing project archive files. This oversight creates an opening for directory traversal attacks. An attacker can exploit this weakness by crafting a malicious archive file that, when opened by a user, manipulates file operations to write or execute code in unintended locations on the system.
Exploitation of this vulnerability requires user interaction. Attackers would need to trick a victim into opening a specially crafted malicious file or potentially visiting a malicious webpage that triggers the vulnerability. Once executed, the attacker can achieve arbitrary code execution within the context of the current user, potentially leading to a full system compromise.
The vulnerability carries a significant CVSS score of 7.8, indicating a high level of risk. This severity underscores the importance of applying the available patch to protect against potential exploitation.
KiCad has released an update to address this security flaw. Users are strongly advised to update their KiCad installations to the latest version to mitigate the risk. The fix is detailed in a commit available on the KiCad GitLab repository, which includes the necessary code changes to properly validate file paths and prevent directory traversal.
This vulnerability was reported to the vendor on August 6, 2026, and the coordinated public release of the advisory occurred on November 13, 2026. The disclosure timeline indicates a standard responsible disclosure process, allowing time for the vendor to develop and release a patch before public awareness.
The Zero Day Initiative (ZDI) has credited an anonymous researcher for discovering and reporting this vulnerability. ZDI plays a crucial role in coordinating with vendors to ensure such flaws are fixed before they can be widely exploited by malicious actors.
This incident highlights the ongoing security challenges faced by open-source software projects. While often robust and widely used, these projects can still be susceptible to critical vulnerabilities that require diligent security research and prompt patching by the community and its users.
This advisory details a directory traversal vulnerability within KiCad's plugin handling mechanism, which can lead to remote code execution if a user is tricked into visiting a malicious page or opening a crafted file. The vulnerability, assigned CVE-2026-126972, has a CVSS score of 7.8 and has been addressed by KiCad in a recent update.