CVE-2026-34398 PUBLISHED

FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench

Assigner: GitHub_M
Reserved: 27.03.2026 Published: 17.08.2026 Updated: 17.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 7.8

Product Status

Vendor FreeCAD
Product FreeCAD
Versions
  • Version >= 0.19, < 1.1.1 is affected

References

Problem Types

  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') CWE