Skip to main content

FreeCAD CVE-2026-73233

| EUVDEUVD-2026-56931 HIGH
Code Injection (CWE-94)
2026-08-11 security-advisories@github.com
8.5
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Recon
    Craft malicious .FCStd file with injected formula
  2. Delivery
    Deliver file to victim via phishing or shared drive
  3. Exploit
    Victim opens file in unpatched FreeCAD
  4. Install
    Victim opens FEM Displacement Constraint task dialog
  5. C2
    Victim clicks Accept
  6. Execute
    Backslash escapes Python string in doCommand()
  7. Impact
    Arbitrary Python executes as FreeCAD process

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

Exploitation requires all of the following: (1) the target system runs FreeCAD prior to version 1.1.2; (2) the victim opens a crafted .FCStd document file - delivery depends on social engineering, phishing, or a compromised shared file location; (3) the victim navigates to a FEM ConstraintDisplacement object within the document and opens its task dialog; (4) the victim clicks Accept (OK/Apply) in the dialog, which triggers TaskDlgFemConstraintDisplacement::accept() and the vulnerable doCommand() call. Documents that contain no FEM Displacement Constraint objects are not exploitable. The FEM workbench must be active and the specific constraint object must be present and opened. Exploitation is not automatable - it cannot be triggered remotely without the victim actively interacting with the dialog, ruling out network-scanning or scripted mass-exploitation. The attack is platform-agnostic across all FreeCAD-supported operating systems. No authentication to any remote system is required, but victim interaction is the binding prerequisite that limits opportunistic exploitation.

Impact

The CVSS 4.0 base score of 8.5 with AV:L/AC:L/AT:N/PR:N/UI:P reflects the realistic attack model: the attacker needs no system privileges and faces no technical complexity barrier, but the attack is local in vector (requires the victim to open a crafted file) and requires passive user interaction (the victim must accept the dialog). SSVC corroborates this picture - Automatable: no rules out mass-scanning campaigns, while Technical Impact: total confirms that successful exploitation yields full process-level control. The combination of a confirmed POC, low attack complexity, and total technical impact makes this a high-priority patch target for engineering teams that use FreeCAD's FEM workbench. Absence from CISA KEV suggests no confirmed active exploitation campaigns, but the low remediation friction (a single upgrade to 1.1.2) means the risk-benefit calculation strongly favors patching. EPSS probabilistic data was not provided in the available intelligence and cannot be cited. The local attack vector does not imply low risk: document-format weaponization is a well-established delivery mechanism requiring only social engineering or a shared network drive.

Exploit ScenarioDerived

An attacker crafts a FreeCAD project file (.FCStd archive) containing a FEM ConstraintDisplacement object whose xDisplacementFormula property is set to a value such as '\'; import os; os.system("malicious_command"); x = "' - a backslash sequence that escapes the Python string generated by doCommand() and appends arbitrary Python statements. The file is delivered to an engineer via email attachment, Slack share, or a poisoned shared network drive. When the victim opens the file in unpatched FreeCAD, navigates to the FEM Displacement Constraint in the model tree, and clicks Accept in the task dialog, the injected Python executes immediately within the FreeCAD process's privilege context. A proof-of-concept is confirmed available per SSVC data, lowering the barrier to exploitation.

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 11, 2026

Python code injection in FreeCAD's FEM Displacement Constraint dialog (all versions prior to 1.1.2) enables arbitrary code execution at the FreeCAD process's privilege level when a victim opens and accepts a weaponized project file. The root cause is an incomplete sanitization routine in TaskFemConstraintDisplacement.cpp that strips double-quotes from user-supplied formula fields but leaves backslash characters unhandled, allowing crafted input to escape the Python string boundary constructed by Gui::Command::doCommand(). SSVC rates technical impact as total and confirms a proof-of-concept exists; no CISA KEV listing is present, indicating no confirmed active exploitation campaigns at time of analysis.

RemediationAI

Upgrade to FreeCAD 1.1.2 or later, which is the vendor-confirmed patched release; the fix is implemented in commits 0a208ac11cfe7b61c424ee4bb79117138ec50ac2 and 3f60d202a8246958232e2fbc74ba38a83483b74e, merged via pull requests #31267 and #31312, available at https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2. For environments that cannot immediately upgrade, the primary compensating control is to restrict the source of opened FreeCAD documents to internally-generated or digitally verified files only - this directly blocks the social-engineering delivery vector without disabling any FreeCAD capability. If an organization must open external FreeCAD files, sandboxing the FreeCAD process (e.g., via a containerized or virtualized environment with restricted network and filesystem access) limits the blast radius of successful exploitation, though this introduces operational overhead. Disabling the FEM workbench entirely prevents the vulnerable dialog from being reached but eliminates all FEM analysis functionality - an acceptable trade-off only for users who do not use FEM features. No configuration option exists to selectively disable Displacement Constraint processing while retaining other FEM functionality. The vendor advisory is at https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q.

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's GUI layer uses a Python command-dispatch mechanism - Gui::Command::doCommand() - to apply values from task dialogs to the live document model. In the FEM (Finite Element Method) workbench, the Displacement Constraint task dialog (src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp) constructs Python assignment commands as C-style format strings, embedding the user-supplied xDisplacementFormula, yDisplacementFormula, and zDisplacementFormula values directly into the command text. The pre-fix code performed only quote-escaping (replacing " with \"), leaving backslash characters as valid Python escape sequences that can terminate the string literal and append arbitrary Python statements. CWE-94 (Improper Control of Generation of Code) precisely describes this class: user-controlled data flows into a code generation path without full neutralization, causing it to be interpreted as executable code rather than as a string value. The fix, applied in commits 0a208ac and 3f60d20, eliminates the injection surface entirely by bypassing doCommand() and setting properties directly via constraint->xDisplacementFormula.setValue(), treating the formula as opaque data rather than constructing a Python command string from it.

Know when Python 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) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

File-based local delivery (AV:L), no system privileges needed (PR:N), but victim must open file and actively accept the dialog (UI:R), with full impact on the FreeCAD process.

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:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 21:18 EUVD
CVE Published
Aug 11, 2026 - 20:18 cve.org
HIGH 8.5

DescriptionCVE.org

FreeCAD is a free and open-source multiplatform 3D parametric modeler. Prior to 1.1.2, the FEM Displacement Constraint task dialog in src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp passes the xDisplacementFormula, yDisplacementFormula, and zDisplacementFormula fields of a Fem::ConstraintDisplacement object through TaskDlgFemConstraintDisplacement::accept() into Gui::Command::doCommand. The escaping helper neutralizes quotation marks but not backslashes, allowing crafted formula text to terminate the generated Python string and execute arbitrary Python code with the FreeCAD process's privileges when a victim accepts the dialog. This issue is fixed in version 1.1.2.

Executive ViewAI

Why It Matters

FreeCAD versions before 1.1.2 enable arbitrary code execution when engineers and designers open malicious project files, with no vendor patch currently available. This exposes design teams and intellectual property to compromise through insider threats or supply chain attacks targeting project files. Immediate operational containment is required pending patch availability.

Business Impact: High
Compensating Controls

Restrict FreeCAD project file access to internal, trusted sources only; implement network segmentation isolating FreeCAD workstations from critical systems; disable or monitor dynamic code execution features within FreeCAD where possible; provide security awareness training to engineering teams on risks of opening untrusted project files; monitor FreeCAD process behavior for anomalous Python module imports or system calls.

Threat Intelligence Overview

EPSS Score
0.1%
Top 95% exploitable
Prevalence
Low
niche open-source 3D CAD tool, primarily hobbyist and engineering use
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

SUSE

Severity: Moderate

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