Skip to main content

FreeCAD EUVDEUVD-2026-60456

| CVE-2026-34399 HIGH
Eval Injection (CWE-95)
2026-08-17 GitHub_M
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious SVG template with eval payload
  2. Delivery
    Deliver template to victim via social engineering
  3. Exploit
    Victim opens FreeCAD BIM Workbench
  4. Execution
    Victim initiates TechDraw page creation from template
  5. Persist
    eval() in BimTDPage.py line 87 executes embedded Python
  6. Impact
    Arbitrary code runs as victim user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to be running FreeCAD 0.19 through 1.1.0 with the BIM Workbench available, and to perform the specific user action of creating a TechDraw page from a malicious SVG template file - the vulnerable code path is in src/Mod/BIM/bimcommands/BimTDPage.py at line 87, triggered only by that workflow. The attacker must first deliver the crafted SVG template to the victim's local filesystem; there is no network-reachable entry point (AV:L confirmed by CVSS vector). Exploitation is limited by the requirement for active user interaction (UI:R): the victim must consciously select and process the malicious template, not merely open a file or visit a URL. The attack does not require the victim to have administrator or elevated privileges - standard user-level FreeCAD usage is sufficient.

Impact

The CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) accurately reflects the attack model: file-based delivery to local filesystem, no attacker privileges needed, but mandatory user interaction. The UI:R requirement is the primary limiting factor - exploitation cannot occur without the victim actively creating a TechDraw page from the malicious template, making pure mass exploitation implausible. No EPSS score was provided, preventing quantitative probability assessment. No KEV listing confirms active exploitation is not yet observed. The structural simplicity of the flaw (eval of untrusted data) means that if a victim can be induced to open the file, exploitation is near-certain with no skill barrier. Real-world priority is moderate: relevant for organizations using FreeCAD in engineering or architecture workflows where template files may be shared externally, but the niche deployment footprint and required social engineering step reduce urgency compared to network-exploitable flaws of equivalent CVSS.

Exploit ScenarioDerived

An attacker embeds a Python payload (e.g., a reverse shell or file exfiltration command) within an SVG template file in a field that the BIM Workbench passes to eval(). The attacker delivers this template via email, a shared project file repository, or a compromised online template gallery to an architect or engineer using FreeCAD. When the victim opens FreeCAD and creates a TechDraw page using that template, the embedded Python executes silently with the victim's user-level OS privileges. No public POC has been identified at time of analysis, but the attack requires no specialized skill beyond crafting a valid SVG with injected Python syntax.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Arbitrary Python code execution in FreeCAD's BIM Workbench (versions 0.19 through 1.1.0) is triggered when a user creates a TechDraw page from a malicious SVG template, due to an unsafe eval() call in BimTDPage.py at line 87. Exploitation requires social engineering - an attacker must deliver a crafted SVG template to a victim who then performs the TechDraw page creation action. No public exploit has been identified at time of analysis and no CISA KEV listing exists, but the vulnerability is structurally trivial (direct eval of attacker-controlled input, CWE-95) and the fix is available in version 1.1.1.

RemediationAI

Upgrade to FreeCAD 1.1.1, which contains the confirmed fix for the eval() injection in BimTDPage.py, as documented in the official release at https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.1 and vendor security advisory GHSA-chv4-vm6r-wjqj. For users who cannot update immediately, restrict the BIM Workbench's TechDraw page creation feature to SVG templates sourced exclusively from trusted internal repositories and avoid opening template files received from external parties. Disabling the BIM Workbench entirely via FreeCAD's preferences eliminates the attack surface with the trade-off of losing all BIM functionality. Do not rely solely on user training as a compensating control given the structural nature of the flaw.

Affected VersionsENISA

FreeCAD 0.19, < 1.1.1

Affected Packages

euvd freecad_0_19 fix: 1.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FreeCAD's BIM Workbench includes a TechDraw page creation workflow implemented in Python at src/Mod/BIM/bimcommands/BimTDPage.py. At line 87, the code passes content extracted from user-supplied SVG template files directly to Python's eval() built-in without any sanitization or sandboxing. CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code - Eval Injection) is the root cause class: attacker-controlled strings are treated as executable Python expressions by the interpreter. Because FreeCAD's BIM and TechDraw modules are written in Python, successful injection executes with the same Python runtime context as the main application, providing full access to OS-level APIs via standard library modules. Affected CPE: cpe:2.3:a:freecad:freecad:*:*:*:*:*:*:*:*.

Know when Freecad gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

File-based delivery mandates AV:L; attacker needs no privileges (PR:N) but victim must actively process the template (UI:R); full code execution yields C:H/I:H/A:H with no scope change.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 22:03 EUVD
CVE Published
Aug 17, 2026 - 20:50 cve.org
HIGH 7.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

FreeCAD versions 0.19 through 1.1.0 contain an arbitrary Python code execution vulnerability in the BIM Workbench. Users who create TechDraw pages from malicious SVG templates unknowingly execute attacker code, potentially compromising design systems and intellectual property. Engineering and architecture teams should prioritize immediate patching of affected systems.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to FreeCAD version 1.1.1 or later.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche open-source CAD tool, limited enterprise production deployment
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy