Description
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.
Published: 2026-08-11
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from incomplete escaping of user‑supplied formulas in the FEM Displacement Constraint task dialog. The backslashes in the provided expressions are not neutralized, allowing a crafted input to terminate the generated Python string and execute arbitrary Python code within the FreeCAD process. As a result, an attacker who can provide a formula and trigger the dialog acceptance can run code with the same privileges as the user running FreeCAD, leading to full code execution on the victim machine.

Affected Systems

All releases of the FreeCAD 3D parametric modeler prior to version 1.1.2 on any supported operating system are affected. The issue resides in the Fem module, specifically the TaskFemConstraintDisplacement dialog in src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity, while the EPSS score of less than 1% suggests a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Because the flaw allows arbitrary Python execution when a dialog is accepted, the attack vector is local to the user’s session, but compromised credentials or remote control of the GUI could provide additional exposure. The lack of a public exploit at the time of disclosure reduces immediate threat, yet the high potential impact warrants prompt remediation.

Generated by OpenCVE AI on August 12, 2026 at 20:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to FreeCAD 1.1.2 or newer to receive the fix that neutralizes backslashes and quotation marks.
  • If an upgrade is not yet possible, restrict the use of FEM Displacement Constraint dialogs to trusted users only and disable script execution or the TaskDlgFemConstraintDisplacement accept action until the update is applied.
  • Monitor for any reports of unauthorized Python code execution from the FEM module and apply any additional patches from FreeCAD as they become available.

Generated by OpenCVE AI on August 12, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6467-1 freecad security update
History

Wed, 12 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Freecad
Freecad freecad
Vendors & Products Freecad
Freecad freecad

Tue, 11 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title FreeCAD: FEM formula incomplete escape
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-11T20:09:44.616Z

Reserved: 2026-08-11T14:41:20.123Z

Link: CVE-2026-73233

cve-icon Vulnrichment

Updated: 2026-08-11T20:09:39.864Z

cve-icon NVD

Status : Received

Published: 2026-08-11T20:18:48.693

Modified: 2026-08-11T21:17:51.737

Link: CVE-2026-73233

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T20:15:03Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')