FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA FreeCAD (FreeCAD) Fixed in 1.1.1
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34398
References
Other 5
- 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
More FreeCAD vulnerabilities
- TI-2026-51370 FreeCAD: FEM formula incomplete escape CVSS 4.0HIGH 8.5
- TI-2026-51371 Path traversal in FreeCAD CVSS 3.1HIGH 7.8
- TI-2026-27033 FreeCAD: Arbitrary code execution via unsandboxed PyImport_ImportModule in PropertyPythonObject::Restore CVSS 3.1HIGH 7.0
- TI-2026-26685 FreeCAD: Arbitrary Code Execution via eval() on untrusted SVG template scale field in BIM TechDraw Page CVSS 3.1HIGH 7.8
- TI-2026-51372 FreeCAD: XXE file read and SSRF via external entity injection in Document.xml SAX parser CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-34398 · CVE Program
- CVE-2026-34398 · NVD
- FIRST EPSS
- CVE-2026-34398 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences