CVE-2026-126971

KiCad Project Archive File Handling Directory Traversal Remote Code Execution Vulnerability

Published Nov 17, 2026 CVSS 3.0 · 7.8 High EPSS n/a KEV · Not listed
Description
KiCad Project Archive File Handling Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of KiCad. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the handling of project archive files. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current user. Was ZDI-CAN-33212.

Analysis

AI-generated

Technical impact

A directory traversal flaw in KiCad’s project archive file handling allows a remote attacker to supply a crafted file path that bypasses validation checks. The flaw can be triggered when a user opens a malicious KiCad project archive or visits a page that loads one. If exploited, the attacker can execute arbitrary code in the context of the current user, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

All installations of KiCad that do not include the latest security fix are vulnerable. Specific affected product versions are not listed in the advisory, so the risk applies to every KiCad release that has not applied the patch described in the linked commit.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability, and the EPSS score is not available, though the attack requires user interaction. The vulnerability is not yet cataloged in the CISA KEV list, but because it permits arbitrary code execution, it warrants urgent attention. Attackers would need to deliver a malicious project archive file, typically via an untrusted web page or an email attachment, and the victim must open or view it to trigger the path traversal and subsequent code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade KiCad to the patched version identified in the GitLab commit referenced in the advisory
  • Never open or import project archives from untrusted sources; verify the integrity of files before use
  • Limit the directories accessible by KiCad by configuring user permissions or using security tools to block unintended file system access

Generated by OpenCVE AI on November 18, 2026 at 09:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description KiCad Project Archive File Handling Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of KiCad. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of project archive files. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current user. Was ZDI-CAN-33212.
Title KiCad Project Archive File Handling Directory Traversal Remote Code Execution Vulnerability
Weaknesses CWE-22
References
Metrics cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Nov 17, 2026, 11:14 PM
Reserved
Nov 12, 2026, 3:07 AM
Status
Received
Published
Nov 18, 2026, 12:18 AM
Modified
Nov 18, 2026, 12:18 AM