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

Published Aug 17, 2026
·
Updated

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 PyImportImportModule() 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 PyObjectCallObject(). This issue is fixed in version 1.1.2.

Affected Software

1 affected component
FreeCAD FreeCAD<1.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FreeCAD to a version that resolves this vulnerability.

    Fixed in 1.1.2

Event History

Aug 17, 2026
CVE Published
via MITRE·08:47 PM
Data Sourced
via MITRE·08:47 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-34789?

The severity of CVE-2026-34789 is rated high with a score of 7.

2

What type of vulnerability is CVE-2026-34789?

CVE-2026-34789 is classified as a code injection vulnerability.

3

How do I fix CVE-2026-34789?

To fix CVE-2026-34789, update FreeCAD to version 1.1.2 or later.

4

What can an attacker achieve with CVE-2026-34789?

An attacker can execute arbitrary code on the system through unsandboxed module imports.

5

In which version of FreeCAD is CVE-2026-34789 patched?

CVE-2026-34789 is patched in FreeCAD version 1.1.2 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203