{"id":"CVE-2026-34398","aliases":["DEBIAN-CVE-2026-34398","EUVD-2026-60457","GHSA-8rfj-7956-6gwf","UBUNTU-CVE-2026-34398"],"status":"published","title":"FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench","description":"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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00224,"percentile":0.13097,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-95"],"published":"2026-08-17T20:51:56Z","modified":"2026-10-28T02:30:45Z","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.1+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.1+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"]},{"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-8rfj-7956-6gwf","tags":["x_refsource_CONFIRM","exploit","advisory","report"]},{"url":"https://github.com/FreeCAD/FreeCAD/pull/28610","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/FreeCAD/FreeCAD/commit/871ee19b76224910332bbfbd39eebbede967998b","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/FreeCAD/FreeCAD/commit/9ed351cc4700db0a94c46f020c34c58bbf1bdaba","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1","tags":["x_refsource_MISC","web","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34398.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34398","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-34398","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-34398","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-34398","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-34398","title":"FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench","description":"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.","status":"published","published":"2026-08-17T20:51:56.717Z","modified":"2026-08-19T03:56:09.964Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-95"],"updated_at":"2026-11-02T14:20:13.962274Z"}],"euvd":[{"id":"EUVD-2026-60457","description":"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.","status":"published","published":"2026-08-17T20:51:56Z","modified":"2026-08-19T03:56:09Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T18:01:45.709762Z"}],"nvd":[{"id":"CVE-2026-34398","description":"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.","status":"published","published":"2026-08-17T21:16:44.13Z","modified":"2026-09-09T21:11:25.743Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-95"],"updated_at":"2026-11-02T14:12:38.647684Z"}],"osv":[{"id":"CVE-2026-34398","title":"FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench","description":"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.","status":"published","published":"2026-08-17T20:51:56.717Z","modified":"2026-10-28T02:30:45.887559083Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-95"],"updated_at":"2026-11-02T15:45:02.247031Z"},{"id":"DEBIAN-CVE-2026-34398","description":"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.","status":"published","published":"2026-08-17T21:16:44.13Z","modified":"2026-10-01T03:03:22.138173535Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:54.587575Z"},{"id":"UBUNTU-CVE-2026-34398","description":"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.","status":"published","published":"2026-08-17T21:16:00Z","modified":"2026-10-17T12:58:11.852562447Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:16.036833Z"}]}}
