Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
FreeCAD FreeCAD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FreeCAD是FreeCAD组织的一款三维参数化计算机辅助设计软件。 FreeCAD 1.1.2之前版本存在代码注入漏洞,该漏洞源于PropertyPythonObject::Restore()函数将攻击者控制的模块属性直接传递给PyImport_ImportModule(),并在恢复特制FCStd文档时执行模块级Python代码,可能导致代码注入。

CVSS 7.0 · High EPSS 0.14% · P4

Affected Version Matrix 1

VendorProduct Version RangeStatus
FreeCAD FreeCAD < 1.1.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-34789

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FreeCAD: Arbitrary code execution via unsandboxed PyImport_ImportModule in PropertyPythonObject::Restore
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
FreeCAD 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FreeCAD是FreeCAD组织的一款三维参数化计算机辅助设计软件。 FreeCAD 1.1.2之前版本存在代码注入漏洞,该漏洞源于PropertyPythonObject::Restore()函数将攻击者控制的模块属性直接传递给PyImport_ImportModule(),并在恢复特制FCStd文档时执行模块级Python代码,可能导致代码注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeCAD FreeCAD < 1.1.2 -

II. Public POCs for CVE-2026-34789

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34789

登录查看更多情报信息。

Patches & Fixes for CVE-2026-34789 (3)

Vendor Advisories for CVE-2026-34789 (1)

Vendor Pages for CVE-2026-34789 (1)

Same Patch Batch · FreeCAD · 2026-08-17 · 3 CVEs total

CVE-2026-34399 7.8 HIGH FreeCAD: Arbitrary Code Execution via eval() on untrusted SVG template scale field in BIM
CVE-2026-34398 7.8 HIGH FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Wor

IV. Related Vulnerabilities

V. Comments for CVE-2026-34789

No comments yet


Leave a comment