FreeCAD: FEM formula incomplete escape
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA FreeCAD (FreeCAD) Fixed in 1.1.2
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-73233
References
Other 6
- https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q
- https://github.com/FreeCAD/FreeCAD/pull/31267
- https://github.com/FreeCAD/FreeCAD/pull/31312
- https://github.com/FreeCAD/FreeCAD/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2
- https://github.com/FreeCAD/FreeCAD/commit/3f60d202a8246958232e2fbc74ba38a83483b74e
- https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2
More FreeCAD vulnerabilities
- TI-2026-51371 Path traversal in FreeCAD CVSS 3.1HIGH 7.8
- TI-2026-26684 FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench CVSS 3.1HIGH 7.8
- TI-2026-27033 FreeCAD: Arbitrary code execution via unsandboxed PyImport_ImportModule in PropertyPythonObject::Restore CVSS 3.1HIGH 7.0
- TI-2026-26685 FreeCAD: Arbitrary Code Execution via eval() on untrusted SVG template scale field in BIM TechDraw Page CVSS 3.1HIGH 7.8
- TI-2026-51372 FreeCAD: XXE file read and SSRF via external entity injection in Document.xml SAX parser CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-73233 · CVE Program
- CVE-2026-73233 · NVD
- FIRST EPSS
- CVE-2026-73233 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences