Severity by source
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:L because victim must open a local file; AC:L because payload crafting requires no race condition or environmental complexity beyond knowing the FCStd XML schema; PR:N as no attacker privilege is needed; full CIA impact from arbitrary Python code execution.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Remote code execution via crafted .FCStd document in FreeCAD prior to 1.1.2 allows arbitrary Python execution when a victim opens a malicious file. The deserialization path in PropertyPythonObject::Restore() passes attacker-controlled module names directly to PyImport_ImportModule(), executing module-level Python code on import; the legacy pickle branch additionally invokes an attacker-controlled class constructor via PyObject_CallObject(). No public exploit or CISA KEV listing is identified at time of analysis, but exploit construction is straightforward for any researcher who can craft the FCStd XML schema.
Technical ContextAI
FreeCAD stores scene properties in .FCStd files (ZIP archives containing XML). The PropertyPythonObject property type serializes Python objects, recording their module and class for later deserialization. During restore, src/App/PropertyPythonObject.cpp calls PyImport_ImportModule() with the raw module attribute from the XML without any allowlist check, meaning the import side-effect - executing __init__.py and any module-level code - fires with attacker-controlled input. The legacy pickle path similarly calls PyObject_CallObject() on an attacker-specified class. CWE-94 (Improper Control of Generation of Code) is the root cause: user-supplied data flows unsanitized into a code-execution primitive. The fix introduces isAllowedModule() which uses importlib.util.find_spec() to locate the module on disk without loading it, then enforces that the resolved path falls under known FreeCAD Mod/Ext directories. CPE cpe:2.3:a:freecad:freecad:*:*:*:*:*:*:*:* covers all versions prior to 1.1.2.
RemediationAI
Upgrade FreeCAD to version 1.1.2, which introduces the isAllowedModule() allowlist in PropertyPythonObject::Restore() - the vendor-released patch is confirmed via https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2 and three associated commits (81b73925, 983037f3, e2dc6c81). If immediate upgrade is not possible, the most effective compensating control is to refuse to open .FCStd files from untrusted sources, enforcing file-origin policies at the organizational level (e.g., email gateway stripping .FCStd attachments or blocking them in collaboration platforms). Disabling Python scripting support in FreeCAD (if the build configuration allows) would eliminate the attack surface but would break legitimate parametric modeling workflows that rely on Python macros. There is no network-level control applicable since the attack requires local file interaction. The side effect of the patch's allowlist is that lazy-loaded workbench modules not yet in sys.modules must resolve to a path under FreeCAD's own Mod or Ext directories - third-party modules installed outside these paths may require additional vetting.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-94 – Code Injection
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-60454