Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious FCStd with attacker-controlled module XML
-
DeliveryDeliver file to target engineer
-
ExploitVictim opens file in FreeCAD
-
ExecutionPropertyPythonObject::Restore() calls PyImport_ImportModule()
-
PersistMalicious Python module-level code executes
-
ImpactArbitrary code runs as victim OS user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim must open a crafted .FCStd file in FreeCAD - active user interaction (UI:R) is mandatory and is the primary limiting factor. No authentication, network service, or elevated privilege is required on either the attacker or victim side. The .FCStd file must contain a PropertyPythonObject XML element with an attacker-controlled module attribute; this is a non-default file content condition but requires no special FreeCAD configuration setting or feature flag - any standard FreeCAD installation with Python scripting enabled (the default build) is vulnerable. For the legacy pickle branch, no special settings beyond the default install are needed either. Exploitation is limited to the local user's privilege level - no privilege escalation beyond the running user account is implied by the CVSS S:U scope. The attacker must independently deliver the malicious file to the victim (social engineering, supply-chain of shared design files, or compromised project repositories). |
| Impact | The CVSS 7.0 score (AV:L/AC:H/PR:N/UI:R) reflects the file-open attack model: an attacker must craft a malicious .FCStd and social-engineer a victim into opening it locally, accounting for the UI:R and AV:L downgrade. NVD rates AC:H, but the technical exploitation complexity is low - any attacker who understands the FCStd XML schema can craft the payload without race conditions or environmental dependencies, suggesting AC:L may be more accurate, which would push the true base score closer to 7.8. No EPSS score was provided. No CISA KEV listing is present, meaning active exploitation is not confirmed. No POC code is publicly identified, though three patch commits are publicly available and effectively document the vulnerable code path in detail. Real-world risk is primarily targeted: engineering firms, academic institutions, and maker communities using FreeCAD are realistic victims via spear-phishing with crafted design files. The full C:H/I:H/A:H impact is accurate - arbitrary Python execution under the user's OS account yields full user-level compromise. The AC:H in the official vector may slightly understate risk for defenders prioritizing patch urgency. |
| Exploit ScenarioDerived | An attacker crafts a malicious .FCStd file by embedding a PropertyPythonObject XML element whose module attribute points to an attacker-controlled Python module placed on a path accessible to the victim, or by embedding a module whose __init__.py executes a reverse shell payload. The file is delivered to an engineer via email, a project collaboration portal, or a public design-sharing site. When the victim opens the file in any FreeCAD version before 1.1.2, PropertyPythonObject::Restore() calls PyImport_ImportModule() with the attacker-supplied module name, immediately executing the malicious module-level code under the victim's OS account with no further interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Freecad gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
2DescriptionCVE.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
Executive ViewAI
FreeCAD prior to version 1.1.2 contains a critical remote code execution vulnerability triggered when users open crafted .FCStd design files, enabling arbitrary Python execution within user systems. Organizations should restrict FreeCAD's exposure to externally-sourced documents and implement file-transfer controls, as straightforward exploit construction poses significant risk despite current absence of public weaponized code.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict .FCStd file transfers via email and file-sharing gateways; establish policy prohibiting opening externally-sourced design files unless from approved vendors; disable FreeCAD on workstations without active design workflow requirements; air-gap systems handling sensitive CAD work; implement mandatory security awareness training on file-source validation before opening application-specific file formats.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Arbitrary Python code execution in FreeCAD's BIM module (versions 0.19 through pre-1.1.1) is triggered when a user opens
Arbitrary Python code execution in FreeCAD's BIM Workbench (versions 0.19 through 1.1.0) is triggered when a user create
EUVD-2026-60454
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB