Vulnerability · Published Aug 11, 2026 · Assigned by GitHub_M
CVE-2026-73233FreeCAD: FEM formula incomplete escape
High 8.5
In plain English
A high-severity code injection in FreeCAD from FreeCAD. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | freecad | 1.0.0+dfsg-8+deb13u3 | DEBIAN-CVE-2026-73233 |
| Debian:14 | freecad | 1.1.3+dfsg-1 | DEBIAN-CVE-2026-73233 |
| Ubuntu:22.04:LTS | freecad | no fix listed | UBUNTU-CVE-2026-73233 |
| Ubuntu:26.10 | freecad | no fix listed | UBUNTU-CVE-2026-73233 |
Affected products (as reported)
Weakness: CWE-94 · 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
References
- https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q x_refsource_CONFIRM
- https://github.com/FreeCAD/FreeCAD/pull/31267 x_refsource_MISC
- https://github.com/FreeCAD/FreeCAD/pull/31312 x_refsource_MISC
- https://github.com/FreeCAD/FreeCAD/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2 x_refsource_MISC
- https://github.com/FreeCAD/FreeCAD/commit/3f60d202a8246958232e2fbc74ba38a83483b74e x_refsource_MISC
- https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2 x_refsource_MISC