FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.2%
exploitation probability
0.2%top 87% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
FreeCAD · FreeCADReferences
https://github.com/FreeCAD/FreeCAD/commit/871ee19b76224910332bbfbd39eebbede967998bhttps://github.com/FreeCAD/FreeCAD/commit/9ed351cc4700db0a94c46f020c34c58bbf1bdabahttps://github.com/FreeCAD/FreeCAD/pull/28610https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-8rfj-7956-6gwf