Arbitrary Code Injection Affecting freecad package, versions <0.20.2+dfsg1-4+deb12u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.2% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-FREECAD-19012614
  • published20 Aug 2026
  • disclosed17 Aug 2026

Introduced: 17 Aug 2026

CVE-2026-34789  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Echo:latest freecad to version 0.20.2+dfsg1-4+deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freecad package and not the freecad package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.