# CVE-2026-34789: FreeCAD: Arbitrary code execution via unsandboxed PyImport_ImportModule in PropertyPythonObject::Restore

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-17T20:47:52.373Z
- Modified: 2026-09-09T21:11:25.743Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FreeCAD FreeCAD: < 1.1.2

## References

- <https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-493w-pp4h-h77v> (exploit)
- <https://github.com/FreeCAD/FreeCAD/commit/81b73925ce22610542367301d8eff4259eb9596e>
- <https://github.com/FreeCAD/FreeCAD/commit/983037f3003dc31f48db36705b86fb3fbe026295>
- <https://github.com/FreeCAD/FreeCAD/commit/e2dc6c8172673642c6856b8b3a5a6accefb18279>
- <https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2>

## Sources

- CVE List: [CVE-2026-34789](https://www.cve.org/CVERecord?id=CVE-2026-34789), CVE Terms of Use, modified 2026-08-19
- NVD: [CVE-2026-34789](https://nvd.nist.gov/vuln/detail/CVE-2026-34789), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-34789 · Whole record: https://cve.day/CVE-2026-34789.json · Rebuilt by cve.day 2026-11-25T22:59:33.388Z
