ZDI-26-957: KiCad Project Archive File Handling Directory Traversal Remote Code Execution Vulnerability
Summary
A Directory Traversal vulnerability leading to Remote Code Execution (RCE) has been identified in KiCad, tracked as ZDI-26-957 and CVE-2026-126971. The vulnerability carries a CVSS score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). User interaction is required for exploitation, specifically requiring the target to visit a malicious page or open a malicious file.
Affected Products
- KiCad (Vendor: KiCad)
Technical Details
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.
Impact
Remote attackers can execute arbitrary code on affected installations of KiCad within the context of the current user, leading to a complete compromise of system confidentiality, integrity, and availability.
Mitigation
- Update KiCad to the latest available version containing the fix for this vulnerability.
- Review the remediation details in the commit: https://gitlab.com/kicad/code/kicad/-/commit/e60c1fc0838339200742cc1ac9fcc1302cbedec5
- Exercise caution and avoid opening KiCad project or archive files received from untrusted or unknown sources.
References
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.