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.
{
"cwe_ids": [
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73233.json",
"cna_assigner": "GitHub_M"
}"2026-08-13T08:22:37Z"
[
{
"id": "CVE-2026-73233-0216c967",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 211.0,
"function_hash": "47164409946150314680252035528740718596"
},
"source": "https://github.com/freecad/freecad/commit/3f60d202a8246958232e2fbc74ba38a83483b74e",
"target": {
"function": "TaskFemConstraintDisplacement::get_zFormula",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-17e7b5f5",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 211.0,
"function_hash": "64536510101029784594228892017303047186"
},
"source": "https://github.com/freecad/freecad/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2",
"target": {
"function": "TaskFemConstraintDisplacement::get_xFormula",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-5ae7b00d",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16826431145685571219371598828065718238",
"334043939218090023240239896255968243571",
"316724852219187604541157205219040568760",
"197061554422943313784577392852192140518",
"113965561451132691077314053143545651492",
"113640793144273273484852106971355560207",
"274439315539132509782613530185042835557",
"69123972941178959368202034881197131099",
"151828067484224822511975716674129792033",
"201284739759920415900622179692241403567",
"306422005215372994276858813954565602723",
"2325329105120534399570503103789911783",
"124015121660598509649858018028271465133",
"231689212295386517567949091962986622973",
"5664896645272095285779521242832913111",
"189579331602150683556751400034308365702",
"210165482214754522181515740998778386684",
"137625710512793870282701650149773284278",
"176001207364684447550154701307522909288",
"233904271071411162304304987614275895280",
"263934275140333912481874166760656151575",
"244669200224009138053592417700229054256",
"238727820857656323838948279114396647660",
"8614998481704984679520498233598844866",
"46967662710907570884985073545800888589",
"330231792408658375408382470804827995266",
"151079188274287120629038865074459641118",
"253311176559472984037847214209294412207",
"307014652790761659973079177851991741213",
"123691191129875177431813018841491477399",
"211188143592892953828177738906042466585",
"113961774073909967725803021795428664031",
"228367316088377723838020164217023115560",
"3052150626654764906187701966410445497",
"332346956157487683629587668153218668959",
"75014136193367837601771270110793926798",
"234947439865864263076415498940063751382",
"22174365016396067312340224066939615957",
"117412950304319881478739195716298653120",
"180179562221460177175640679683228436241",
"269788142334228939543824332737282659715",
"73100434282079456735953348744349706359",
"340030429199716890712418865143992254850",
"4116965526720839899227214937112943701",
"328908249169225979957037299032335073852",
"126741051060917948831311247304892822320",
"137136457041905515807528027290632845861",
"48373916897326314131957971149273806120",
"173900746943072217053735684333074200064",
"232926785559247213835004192765833768668",
"228367823810323386602708245227751254526",
"157900957520970444572718797792291101090",
"310699903826449619667691662023379488702",
"107004575713073288642033466027567556805",
"274543631658162189308139840818889068974"
]
},
"source": "https://github.com/freecad/freecad/commit/3f60d202a8246958232e2fbc74ba38a83483b74e",
"target": {
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-783b1428",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 3535.0,
"function_hash": "329334325353723419533405325253199596580"
},
"source": "https://github.com/freecad/freecad/commit/3f60d202a8246958232e2fbc74ba38a83483b74e",
"target": {
"function": "TaskDlgFemConstraintDisplacement::accept",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-958a8174",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 211.0,
"function_hash": "47164409946150314680252035528740718596"
},
"source": "https://github.com/freecad/freecad/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2",
"target": {
"function": "TaskFemConstraintDisplacement::get_zFormula",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-d667366c",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16826431145685571219371598828065718238",
"334043939218090023240239896255968243571",
"316724852219187604541157205219040568760",
"197061554422943313784577392852192140518",
"113965561451132691077314053143545651492",
"113640793144273273484852106971355560207",
"274439315539132509782613530185042835557",
"69123972941178959368202034881197131099",
"151828067484224822511975716674129792033",
"201284739759920415900622179692241403567",
"306422005215372994276858813954565602723",
"2325329105120534399570503103789911783",
"124015121660598509649858018028271465133",
"231689212295386517567949091962986622973",
"5664896645272095285779521242832913111",
"189579331602150683556751400034308365702",
"210165482214754522181515740998778386684",
"137625710512793870282701650149773284278",
"176001207364684447550154701307522909288",
"233904271071411162304304987614275895280",
"263934275140333912481874166760656151575",
"244669200224009138053592417700229054256",
"238727820857656323838948279114396647660",
"8614998481704984679520498233598844866",
"46967662710907570884985073545800888589",
"330231792408658375408382470804827995266",
"151079188274287120629038865074459641118",
"253311176559472984037847214209294412207",
"307014652790761659973079177851991741213",
"123691191129875177431813018841491477399",
"211188143592892953828177738906042466585",
"113961774073909967725803021795428664031",
"228367316088377723838020164217023115560",
"3052150626654764906187701966410445497",
"332346956157487683629587668153218668959",
"75014136193367837601771270110793926798",
"234947439865864263076415498940063751382",
"22174365016396067312340224066939615957",
"117412950304319881478739195716298653120",
"180179562221460177175640679683228436241",
"269788142334228939543824332737282659715",
"73100434282079456735953348744349706359",
"340030429199716890712418865143992254850",
"4116965526720839899227214937112943701",
"328908249169225979957037299032335073852",
"126741051060917948831311247304892822320",
"137136457041905515807528027290632845861",
"48373916897326314131957971149273806120",
"173900746943072217053735684333074200064",
"232926785559247213835004192765833768668",
"228367823810323386602708245227751254526",
"157900957520970444572718797792291101090",
"310699903826449619667691662023379488702",
"107004575713073288642033466027567556805",
"274543631658162189308139840818889068974"
]
},
"source": "https://github.com/freecad/freecad/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2",
"target": {
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-e1070419",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 3535.0,
"function_hash": "329334325353723419533405325253199596580"
},
"source": "https://github.com/freecad/freecad/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2",
"target": {
"function": "TaskDlgFemConstraintDisplacement::accept",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-f22fafa6",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 211.0,
"function_hash": "324856218144965389178695870855796351392"
},
"source": "https://github.com/freecad/freecad/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2",
"target": {
"function": "TaskFemConstraintDisplacement::get_yFormula",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-f37c4887",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 211.0,
"function_hash": "324856218144965389178695870855796351392"
},
"source": "https://github.com/freecad/freecad/commit/3f60d202a8246958232e2fbc74ba38a83483b74e",
"target": {
"function": "TaskFemConstraintDisplacement::get_yFormula",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
},
{
"id": "CVE-2026-73233-f77e3895",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 211.0,
"function_hash": "64536510101029784594228892017303047186"
},
"source": "https://github.com/freecad/freecad/commit/3f60d202a8246958232e2fbc74ba38a83483b74e",
"target": {
"function": "TaskFemConstraintDisplacement::get_xFormula",
"file": "src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73233.json"