{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.19"
              },
              {
                "fixed": "1.1.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "d29fd7d9cb9fb280a1eb47f55e3c73c46d637ba2"
            },
            {
              "fixed": "871ee19b76224910332bbfbd39eebbede967998b"
            },
            {
              "fixed": "9ed351cc4700db0a94c46f020c34c58bbf1bdaba"
            },
            {
              "fixed": "0108fd4b4850cc46e625b60e53cea7a7bbe69f8d"
            }
          ],
          "repo": "https://github.com/freecad/freecad",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8rfj-7956-6gwf"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-95"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34398.json"
  },
  "details": "FreeCAD is a free and open-source multiplatform 3D parametric modeler. From 0.19 until 1.1.1, src/Mod/BIM/bimcommands/BimProjectManager.py in the BIM Project Manager Load Template flow passes attacker-controlled FCStd Meta property values for wpposition, wpu, wpv, and wpaxis directly to eval(), allowing arbitrary Python code execution when a user loads a malicious BIM project template. This issue is fixed in version 1.1.1.",
  "id": "CVE-2026-34398",
  "modified": "2026-09-11T03:30:48.167095685Z",
  "published": "2026-08-17T20:51:56.717Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34398.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-8rfj-7956-6gwf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34398"
    },
    {
      "type": "FIX",
      "url": "https://github.com/FreeCAD/FreeCAD/commit/871ee19b76224910332bbfbd39eebbede967998b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/FreeCAD/FreeCAD/commit/9ed351cc4700db0a94c46f020c34c58bbf1bdaba"
    },
    {
      "type": "FIX",
      "url": "https://github.com/FreeCAD/FreeCAD/pull/28610"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench"
}