FreeCAD: Arbitrary code execution via unsandboxed PyImport_ImportModule in PropertyPythonObject::Restore
CVE-2026-34789 is fixed in 2 products on 2 platforms, first by FreeCAD 1.1.2, released July 23, 2026. It is not reported as exploited. Patch Radar priority: High.
FreeCAD is a free and open-source multiplatform 3D parametric modeler. Prior to 1.1.2, src/App/PropertyPythonObject.cpp in PropertyPythonObject::Restore() passes the attacker-controlled module attribute from serialized PropertyPythonObject XML directly to PyImport_ImportModule() while restoring a crafted FCStd document, which executes module-level Python code, and the legacy pickle branch also imports an attacker-controlled module and invokes its class constructor through PyObject_CallObject(). This issue is fixed in version 1.1.2.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| FreeCAD | 1.1.2 | FreeCAD 1.1.2 | Jul 23, 2026 |
| Linux | |||
| freecad · Debian 12.15 (bookworm) | 0.20.2+dfsg1-4+deb12u1 | DEBIAN-CVE-2026-34789 | Aug 27, 2026 |
| freecad · Debian 13.5 (trixie) | 1.0.0+dfsg-8+deb13u3 | DEBIAN-CVE-2026-34789 | Aug 27, 2026 |
| freecad · Debian 14 | 1.1.3+dfsg-1 | DEBIAN-CVE-2026-34789 | Aug 27, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.