Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M
CVE-2026-34398FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench
High 7.8
In plain English
A high-severity security flaw in FreeCAD from FreeCAD. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | freecad | 1.0.0+dfsg-8+deb13u3 | DEBIAN-CVE-2026-34398 |
| Debian:14 | freecad | 1.1.1+dfsg-1 | DEBIAN-CVE-2026-34398 |
| Ubuntu:22.04:LTS | freecad | no fix listed | UBUNTU-CVE-2026-34398 |
| Ubuntu:26.10 | freecad | no fix listed | UBUNTU-CVE-2026-34398 |
Affected products (as reported)
Weakness: CWE-95 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-8rfj-7956-6gwf x_refsource_CONFIRM
- https://github.com/FreeCAD/FreeCAD/pull/28610 x_refsource_MISC
- https://github.com/FreeCAD/FreeCAD/commit/871ee19b76224910332bbfbd39eebbede967998b x_refsource_MISC
- https://github.com/FreeCAD/FreeCAD/commit/9ed351cc4700db0a94c46f020c34c58bbf1bdaba x_refsource_MISC
- https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1 x_refsource_MISC