CVE-2026-73233 FreeCAD: FEM formula incomplete escape
Attackers can execute arbitrary Python code by crafting malicious displacement formulas in FreeCAD, requiring user interaction to accept the dialog.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-73233?
CVE-2026-73233 is a high-severity code injection vulnerability in FreeCAD, published on 11 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-73233?
How do I fix CVE-2026-73233?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-73233 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73233 exists.
Sources
Also known as DEBIAN-CVE-2026-73233, GHSA-2rq3-gx3h-489q, UBUNTU-CVE-2026-73233.