CVE-2026-34398
FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench
- State
- Published
- Severity
- 7.8 High
- Published
- Aug 17, 2026
- Updated
- Aug 19, 2026
- Reserved
- Mar 27, 2026
Description
FreeCAD is a free and open-source multiplatform 3D parametric modeler. From 0.19 until 1.1.1, src/Mod/BIM/bimcommands/BimProjectManager.py in the BIM Project Manager Load Template flow passes attacker-controlled FCStd Meta property values for wpposition, wpu, wpv, and wpaxis directly to eval(), allowing arbitrary Python code execution when a user loads a malicious BIM project template. This issue is fixed in version 1.1.1.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
Weaknesses
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected Products
| Product | Versions |
|---|---|
FreeCADFreeCAD |
|
References
- https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-8rfj-7956-6gwf
- https://github.com/FreeCAD/FreeCAD/pull/28610
- https://github.com/FreeCAD/FreeCAD/commit/871ee19b76224910332bbfbd39eebbede967998b
- https://github.com/FreeCAD/FreeCAD/commit/9ed351cc4700db0a94c46f020c34c58bbf1bdaba
- https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.