{
  "id": "CVE-2026-34789",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34789",
  "published_at": "2026-08-17T20:47:52.373Z",
  "title": "FreeCAD: Arbitrary code execution via unsandboxed PyImport_ImportModule in PropertyPythonObject::Restore",
  "vendor": "FreeCAD",
  "product": "FreeCAD",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "FreeCAD is a free and open-source multiplatform 3D parametric modeler. Prior to 1.1.2, src/App/PropertyPythonObject.cpp in PropertyPythonObject::Restore() passes the attacker-controlled module attribute from serialized PropertyPythonObject XML directly to PyImport_ImportModule() while restoring a crafted FCStd document, which executes module-level Python code, and the legacy pickle branch also imports an attacker-controlled module and invokes its class constructor through PyObject_CallObject(). This issue is fixed in version 1.1.2.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FreeCAD",
        "product": "FreeCAD",
        "ranges": [
          "\u003c 1.1.2"
        ],
        "fixed_in": [
          "1.1.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FreeCAD to 1.1.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-493w-pp4h-h77v"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeCAD/FreeCAD/commit/81b73925ce22610542367301d8eff4259eb9596e"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeCAD/FreeCAD/commit/983037f3003dc31f48db36705b86fb3fbe026295"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeCAD/FreeCAD/commit/e2dc6c8172673642c6856b8b3a5a6accefb18279"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
