# CVE-2026-34398: FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench

CVE-2026-34398 is fixed in 2 products on 2 platforms, first by FreeCAD 1.1.1, released April 14, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-34398
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0022
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 17, 2026
- Weakness: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- Vendor advisory: https://nvd.nist.gov/vuln/detail/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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | FreeCAD | 1.1.1 | [FreeCAD 1.1.1](https://patchblox.com/security/data/fix/windows-app/freecad.freecad-1.1.1.md) | Apr 14, 2026 |
| Linux | freecad Debian 13.5 (trixie) | 1.0.0+dfsg-8+deb13u3 | [DEBIAN-CVE-2026-34398](https://patchblox.com/security/data/fix/linux/debian-cve-2026-34398.md) | Aug 27, 2026 |
| Linux | freecad Debian 14 | 1.1.1+dfsg-1 | [DEBIAN-CVE-2026-34398](https://patchblox.com/security/data/fix/linux/debian-cve-2026-34398.md) | Aug 27, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
