# CVE-2026-34399: FreeCAD: Arbitrary Code Execution via eval() on untrusted SVG template scale field in BIM TechDraw Page

CVE-2026-34399 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-34399
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0020
- 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-34399

## Description

FreeCAD is a free and open-source multiplatform 3D parametric modeler. From 0.19 until 1.1.1, FreeCAD's BIM Workbench contains an eval() call on untrusted data from SVG template files. When a user creates a TechDraw page from a malicious SVG template, arbitrary Python code executes. The vulnerable code is in src/Mod/BIM/bimcommands/BimTDPage.py (line 87). 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-34399](https://patchblox.com/security/data/fix/linux/debian-cve-2026-34399.md) | Aug 27, 2026 |
| Linux | freecad Debian 14 | 1.1.1+dfsg-1 | [DEBIAN-CVE-2026-34399](https://patchblox.com/security/data/fix/linux/debian-cve-2026-34399.md) | Aug 27, 2026 |

---

Data as of 2026-11-09T07:25:28Z 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.
