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.
Published: 2026-08-17
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when the BIM Project Manager processes metadata from an imported BIM project file, passing attacker‑controlled values to Python’s eval() function. Exploiting this flaw allows the execution of arbitrary Python code during file loading, giving an attacker the ability to run malicious code with the same privileges as the application. This weakness is identified as CWE‑94 and CWE‑95 and threatens the confidentiality, integrity, and availability of affected systems.

Affected Systems

All FreeCAD releases from 0.19 up to and including 1.1.1 contain the affected code in src/Mod/BIM/bimcommands/BimProjectManager.py. The security fix was applied in version 1.1.1, which removes the eval() call on untrusted metadata. Therefore, any installation running a version prior to 1.1.1 is vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates medium‑high severity, and the EPSS score is not available, so the current probability of exploitation is unknown but may be significant because the attacker only needs to supply a malicious BIM file. The vulnerability is not listed in the CISA KEV catalog, but the impact of arbitrary code execution remains severe, especially if malicious templates are distributed through the supply chain or shared files. Prompt remediation is recommended.

Generated by OpenCVE AI on August 18, 2026 at 14:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to FreeCAD 1.1.1 or later to apply the security fix.
  • Avoid opening BIM project templates from untrusted or unknown sources until the application is updated.
  • If an update cannot be applied immediately, run FreeCAD in a sandboxed or isolated environment to limit the scope of potential code execution.

Generated by OpenCVE AI on August 18, 2026 at 14:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6467-1 freecad security update
History

Tue, 18 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
References
Metrics threat_severity

None

threat_severity

Important


Mon, 17 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Freecad
Freecad freecad
Vendors & Products Freecad
Freecad freecad

Mon, 17 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title FreeCAD: Arbitrary Code Execution via eval() on untrusted project file metadata in BIM Workbench
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T03:56:09.964Z

Reserved: 2026-03-27T13:45:29.620Z

Link: CVE-2026-34398

cve-icon Vulnrichment

Updated: 2026-08-18T15:36:56.998Z

cve-icon NVD

Status : Received

Published: 2026-08-17T21:16:44.130

Modified: 2026-08-19T04:17:02.943

Link: CVE-2026-34398

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-17T20:51:56Z

Links: CVE-2026-34398 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T14:15:07Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')