{"id":"CVE-2026-73233","aliases":["DEBIAN-CVE-2026-73233","EUVD-2026-56931","GHSA-2rq3-gx3h-489q","UBUNTU-CVE-2026-73233"],"status":"published","title":"FreeCAD: FEM formula incomplete escape","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.","severity":{"version":"4.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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00199,"percentile":0.09821,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2026-08-11T19:39:18Z","modified":"2026-10-28T11:23:01Z","fixes":[{"ecosystem":"Debian:13","package":"freecad","fixed_in":["1.0.0+dfsg-8+deb13u3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"freecad","fixed_in":["1.1.3+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0+dfsg-8+deb13u3"}]}],"versions":["1.0.0+dfsg-8","1.0.0+dfsg-8+deb13u1","1.0.0+dfsg-8+deb13u2"]},{"source":"osv","ecosystem":"Debian:14","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3+dfsg-1"}]}],"versions":["1.0.0+dfsg-8","1.0.2+dfsg-1","1.0.2+dfsg-2","1.0.2+dfsg-3","1.0.2+dfsg-4","1.0.2+dfsg-5","1.0.2+dfsg-6","1.0.2+dfsg-7","1.0.2+dfsg-8~exp1","1.1.0+dfsg-1","1.1.0+dfsg-2","1.1.0+dfsg-2~exp1","1.1.1+dfsg-1","1.1.1+dfsg-2","1.1.1+dfsg-2~exp1","1.1.1+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3702+dfsg-4","0.15.4671+dfsg1-1","0.15.4671+dfsg1-2","0.15.4671+dfsg1-3","0.15.4671+dfsg1-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16+dfsg2-3","0.16+dfsg2-3build3","0.16.6712+dfsg1-1","0.16.6712+dfsg1-1ubuntu1","0.16.6712+dfsg1-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.3+dfsg1-1","0.18.3+dfsg1-4","0.18.4+dfsg1-1","0.18.4+dfsg1-2~build1","0.18.4+dfsg1-2","0.18.4+dfsg1-2ubuntu8","0.18.4+dfsg2-1ubuntu1","0.18.4+dfsg2-1ubuntu2","0.18.4+dfsg2-1ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.1+dfsg1-2","0.19.2+dfsg1-3","0.19.2+dfsg1-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.1+dfsg-3","1.1.1+dfsg-3build1","1.1.3+dfsg-3build1"]}],"products":[{"vendor":"freecad","product":"freecad"}],"references":[{"url":"https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q","tags":["x_refsource_CONFIRM","exploit","advisory","report"]},{"url":"https://github.com/FreeCAD/FreeCAD/pull/31267","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/FreeCAD/FreeCAD/pull/31312","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/FreeCAD/FreeCAD/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/FreeCAD/FreeCAD/commit/3f60d202a8246958232e2fbc74ba38a83483b74e","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73233.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73233","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-73233","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-73233","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-73233","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-73233","title":"FreeCAD: FEM formula incomplete escape","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.","status":"published","published":"2026-08-11T19:39:18.878Z","modified":"2026-08-11T20:09:44.616Z","cvss":[{"version":"4.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","level":"high","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T13:43:33.766176Z"}],"euvd":[{"id":"EUVD-2026-56931","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.","status":"published","published":"2026-08-11T19:39:18Z","modified":"2026-08-11T20:09:44Z","cvss":[{"version":"4.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","level":"high"}],"updated_at":"2026-11-02T18:01:59.481615Z"}],"nvd":[{"id":"CVE-2026-73233","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.","status":"published","published":"2026-08-11T20:18:48.693Z","modified":"2026-09-09T20:50:00.95Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:12:36.880938Z"}],"osv":[{"id":"CVE-2026-73233","title":"FreeCAD: FEM formula incomplete escape","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.","status":"published","published":"2026-08-11T19:39:18.878Z","modified":"2026-10-28T11:23:01.883896718Z","cvss":[{"version":"4.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","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:45:15.88521Z"},{"id":"DEBIAN-CVE-2026-73233","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.","status":"published","published":"2026-08-11T20:18:48.693Z","modified":"2026-10-03T09:00:14.544318604Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"updated_at":"2026-11-02T15:46:02.499355Z"},{"id":"UBUNTU-CVE-2026-73233","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.","status":"published","published":"2026-08-11T20:18:00Z","modified":"2026-10-17T13:01:01.165959682Z","cvss":[{"version":"4.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","level":"high"}],"updated_at":"2026-11-02T16:57:08.628462Z"}]}}
