Skip to main content

FreeCAD EUVDEUVD-2026-60454

| CVE-2026-34789 HIGH
Code Injection (CWE-94)
2026-08-17 GitHub_M
7.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious FCStd with attacker-controlled module XML
  2. Delivery
    Deliver file to target engineer
  3. Exploit
    Victim opens file in FreeCAD
  4. Execution
    PropertyPythonObject::Restore() calls PyImport_ImportModule()
  5. Persist
    Malicious Python module-level code executes
  6. Impact
    Arbitrary 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeCAD < 1.1.2

Affected Packages

euvd freecad fix: 1.1.2

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

Vendor (GitHub_M) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 22:03 EUVD
CVE Published
Aug 17, 2026 - 20:47 cve.org
HIGH 7.0

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular open-source CAD tool, engineering and maker communities
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy