CVE-2026-34789 json
FreeCAD: Arbitrary code execution via unsandboxed PyImport_ImportModule in PropertyPythonObject::Restore
published 2026-08-17 2 mo ago modified 2026-09-09 1 mo ago also EUVD-2026-60454
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- freecad freecad 1.1.2
- freecad_project freecad 1.1.2
- freecad Debian 12 0.20.2+dfsg1-4+deb12u1
- freecad Debian 13 1.0.0+dfsg-8+deb13u3
- freecad Debian 14 1.1.3+dfsg-1
debian advisories DEBIAN-CVE-2026-34789
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34789 updated cvss 7.8
FreeCAD: FreeCAD: Arbitrary code execution via crafted document restoration
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-493w-pp4h-h77v referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- FreeCAD FreeCAD
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
- github.com /FreeCAD/FreeCAD/commit/81b73925ce22610542367301d8eff4259eb9596e
- github.com /FreeCAD/FreeCAD/commit/983037f3003dc31f48db36705b86fb3fbe026295
- github.com /FreeCAD/FreeCAD/commit/e2dc6c8172673642c6856b8b3a5a6accefb18279
-
github.com
/FreeCAD/FreeCAD/security/advisories/GHSA-493w-pp4h-h77v
exploit
- github.com /FreeCAD/FreeCAD/releases/tag/1.1.2
Sources
- CVE List CVE-2026-34789
- NVD CVE-2026-34789
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.