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

Impact

The flaw resides in FreeCAD’s BIM Workbench, where the BimTDPage.py module evaluates data extracted from an SVG template’s scale field using Python’s eval. When a user creates a TechDraw page from a malicious SVG file, the untrusted data is executed as Python code, enabling an attacker to run arbitrary code within the FreeCAD process. This is a classic code‑execution weakness, categorized as CWE‑95. The consequence is that any payload supplied by the attacker will run with the current user’s privileges, potentially compromising local data, files, and the machine’s security.

Affected Systems

All FreeCAD releases from version 0.19 through 1.1.1 are affected. The vulnerability applies regardless of operating system—Windows, macOS, or Linux—whenever the BIM Workbench processes an SVG template. The advisory lists the product as FreeCAD:FreeCAD and notes that the issue was resolved in release 1.1.1, which was made available on GitHub. Users who have not updated beyond 1.1.1 are at risk.

Risk and Exploitability

With a CVSS score of 7.8 the flaw carries moderate‑to‑high severity. Exploitation requires a user to open a crafted SVG file locally; no EPSS score is provided, and the vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of widespread automated attacks. Nevertheless, any environment that accepts external SVG files from untrusted sources faces a real risk of local code execution, allowing an attacker full access to the system running FreeCAD.

Generated by OpenCVE AI on August 18, 2026 at 00:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FreeCAD to version 1.1.1 or later, which removes the vulnerable eval call.
  • If an upgrade is not immediately possible, do not open SVG templates from untrusted or unknown sources in the BIM Workbench; only use files from trusted origins.
  • Run FreeCAD in a sandboxed or restricted environment when processing external files to contain any potential code execution.

Generated by OpenCVE AI on August 18, 2026 at 00:02 UTC.

Tracking

Sign in to view the affected projects.

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

Wed, 19 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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, 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.
Title FreeCAD: Arbitrary Code Execution via eval() on untrusted SVG template scale field in BIM TechDraw Page
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:11.095Z

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

Link: CVE-2026-34399

cve-icon Vulnrichment

Updated: 2026-08-18T17:28:42.888Z

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-34399

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T00:15:03Z

Weaknesses
  • CWE-95

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