CVE-2026-73233

NameCVE-2026-73233
DescriptionFreeCAD 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
freecad (PTS)bullseye (security), bullseye0.19.1+dfsg1-2+deb11u1vulnerable
bookworm0.20.2+dfsg1-4vulnerable
trixie1.0.0+dfsg-8+deb13u2vulnerable
sid1.1.1+dfsg-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
freecadsource(unstable)(unfixed)

Notes

https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q
https://github.com/FreeCAD/FreeCAD/pull/31312
Fixed by: https://github.com/FreeCAD/FreeCAD/commit/3f60d202a8246958232e2fbc74ba38a83483b74e (1.1.2)

Search for package or bug name: Reporting problems