{"id":"CVE-2026-73233","state":"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.","publishedAt":"2026-08-11T19:39:18.878Z","updatedAt":"2026-08-11T20:09:44.616Z","severity":{"score":8.5,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["FreeCAD FreeCAD"],"affected":[{"vendor":"FreeCAD","product":"FreeCAD","versions":[{"version":"< 1.1.2","status":"affected"}]}],"references":["https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q","https://github.com/FreeCAD/FreeCAD/pull/31267","https://github.com/FreeCAD/FreeCAD/pull/31312","https://github.com/FreeCAD/FreeCAD/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2","https://github.com/FreeCAD/FreeCAD/commit/3f60d202a8246958232e2fbc74ba38a83483b74e","https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73233.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73233","state":"PUBLISHED","datePublished":"2026-08-11T19:39:18.878Z","dateUpdated":"2026-08-11T20:09:44.616Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-11T14:41:20.123Z"},"containers":{"cna":{"title":"FreeCAD: FEM formula incomplete escape","descriptions":[{"lang":"en","value":"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":[{"vendor":"FreeCAD","product":"FreeCAD","versions":[{"version":"< 1.1.2","status":"affected"}]}],"references":[{"url":"https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q","name":"https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreeCAD/FreeCAD/pull/31267","name":"https://github.com/FreeCAD/FreeCAD/pull/31267","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeCAD/FreeCAD/pull/31312","name":"https://github.com/FreeCAD/FreeCAD/pull/31312","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeCAD/FreeCAD/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2","name":"https://github.com/FreeCAD/FreeCAD/commit/0a208ac11cfe7b61c424ee4bb79117138ec50ac2","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeCAD/FreeCAD/commit/3f60d202a8246958232e2fbc74ba38a83483b74e","name":"https://github.com/FreeCAD/FreeCAD/commit/3f60d202a8246958232e2fbc74ba38a83483b74e","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2","name":"https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-11T19:39:18.878Z"},"source":{"advisory":"GHSA-2rq3-gx3h-489q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-2rq3-gx3h-489q","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-11T20:09:18.636135Z","id":"CVE-2026-73233","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-11T20:09:44.616Z"}}]}}}