Skip to main content

FreeCAD EUVDEUVD-2026-56933

| CVE-2026-73235 MEDIUM
Improper Restriction of XML External Entity Reference (CWE-611)
2026-08-11 security-advisories@github.com
6.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Recon
    Deliver crafted .FCStd via phishing or file share
  2. Delivery
    Victim opens malicious archive in FreeCAD
  3. Exploit
    Document::restore() invokes Xerces SAX2 XMLReader
  4. Install
    External entity in Document.xml resolved without restriction
  5. C2
    Local file read via file:// URI or SSRF via http:// URI
  6. Execute
    File contents flow through SAX characters() callback
  7. Impact
    Data exfiltrated to attacker-controlled HTTP endpoint

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

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 open a crafted .FCStd archive file created by the attacker - CVSS UI:R confirms this user interaction is mandatory and passive exploitation is not possible. The .FCStd file must be delivered to the victim's local filesystem (via phishing, download, shared drive, or USB), consistent with the AV:L local attack vector. No authentication, no special privileges, and no non-default configuration are required on the victim system - any FreeCAD installation prior to 1.1.2 on any platform is vulnerable when processing an untrusted .FCStd file. Exploitation is constrained by: (1) mandatory file-open user interaction, (2) local file delivery prerequisite, and (3) exfiltration of read file content via HTTP requires an outbound network path from the victim machine; the file:// local read itself requires no network connectivity but the attacker must have an alternate feedback channel to recover the data unless they can observe side effects.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N) scores 6.1 (Medium), which is consistent with the actual risk profile. The local attack vector (AV:L) reflects that the crafted file must reach and be opened on the victim's machine - passive exploitation is impossible, and user interaction (UI:R) is mandatory. High confidentiality impact (C:H) is warranted given the ability to read arbitrary local files; low integrity impact (I:L) likely reflects the SSRF dimension (outbound HTTP) or marginal file-write capability. No EPSS score was included in the provided intelligence, so exploitation probability cannot be quantified. No CISA KEV listing and no known POC code exist at time of analysis. Real-world risk is meaningful for users who open untrusted .FCStd files - the CAD/engineering community does share project files externally - but the social-engineering prerequisite and local vector substantially limit opportunistic mass exploitation. This is a genuine vulnerability warranting patching but not emergency response prioritization unless the organization's users routinely open untrusted CAD files.

Exploit ScenarioDerived

An attacker crafts a .FCStd archive whose Document.xml defines an external XML entity referencing a sensitive local file (e.g., file:///home/victim/.ssh/id_rsa on Linux or file:///C:/Users/victim/AppData/Roaming/credential-store on Windows) and a second entity whose resolved value is exfiltrated via an HTTP request to an attacker-controlled server. The attacker distributes the file through a phishing email, engineering forum, or file-sharing platform targeting FreeCAD users. When the victim opens the file, FreeCAD's Xerces parser expands the entities and the resolved file contents are sent to the attacker's HTTP server through the characters() callback chain.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 11, 2026

XML External Entity (XXE) injection in FreeCAD prior to 1.1.2 allows an attacker who can deliver a crafted .FCStd archive to a user to read arbitrary local files via the file:// URI scheme or trigger server-side requests via the http:// URI scheme when the victim opens the file. The Xerces-C++ SAX2 XMLReader in src/Base/Reader.cpp was instantiated without disabling external entity resolution or external DTD loading, meaning Document.xml embedded inside a .FCStd archive is parsed with full entity expansion enabled. No public exploit is identified at time of analysis, and a vendor-released patch is available in version 1.1.2.

RemediationAI

Upgrade FreeCAD to version 1.1.2 or later, confirmed available at https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2. The fix is implemented in commits 7d1b8f5806db578db99feb348e55a6b0eaff7c73 and d98eaf1f194400d8a8886fe6780c54f5c68ea2c3 (corresponding to pull requests #31271 and #31280), which add XMLUni::fgXercesDisableDefaultEntityResolution = true and XMLUni::fgXercesLoadExternalDTD = false to the Xerces parser construction in Base::XMLReader::XMLReader(). As a compensating control prior to patching, users should strictly avoid opening .FCStd files received from untrusted sources. Network egress filtering (blocking outbound HTTP from the FreeCAD process) mitigates the SSRF component but does not prevent local file disclosure via file:// URIs, which requires no network connectivity. For higher-assurance environments, running FreeCAD within an OS-level sandbox (AppArmor or SELinux profile on Linux, macOS sandbox-exec) with restricted filesystem access can limit the blast radius of local file reads, at the cost of potentially breaking legitimate FreeCAD file access workflows.

Affected VersionsENISA

FreeCAD < 1.1.2

Affected Packages

euvd freecad fix: 1.1.2

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 .FCStd file format is a ZIP archive containing a Document.xml file. The vulnerability resides in Base::XMLReader::XMLReader() in src/Base/Reader.cpp, which constructs a Xerces-C++ SAX2 XMLReader and registers content handlers but omits two protective feature flags: fgXercesDisableDefaultEntityResolution and fgXercesLoadExternalDTD. When Document::restore() calls the reader, the Xerces parser eagerly resolves any external entity declarations found in Document.xml - referencing file:// URIs to read local files or http:// URIs to issue outbound HTTP requests. Resolved entity content is delivered back to the application through the SAX characters() callback, creating a data exfiltration path if the attacker controls both the entity reference (for file reads) and an HTTP endpoint (to receive the exfiltrated content). The fix in commits 7d1b8f58 and d98eaf1f adds exactly these two missing Xerces feature flags. CWE-611 (Improper Restriction of XML External Entity Reference) precisely describes the root cause: a parser processes attacker-controlled XML without restricting external entity expansion.

Know when the next one hits your stack

  • 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) PRIMARY 6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
vuln.today AI 6.1 MEDIUM

Victim must actively open a crafted local file (AV:L, UI:R); no privileges required; C:H for local file read, I:L for SSRF potential.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

1
Patch available
Aug 11, 2026 - 21:18 EUVD

DescriptionCVE.org

FreeCAD is a free and open-source multiplatform 3D parametric modeler. Prior to 1.1.2, the Xerces SAX2 XMLReader constructed in src/Base/Reader.cpp by Base::XMLReader::XMLReader() parses attacker-controlled Document.xml from a crafted .FCStd archive without disabling default external entity resolution or external DTD loading. When Document::restore() opens the document, external entities can read local files through the file URI scheme or initiate server-side requests through the http URI scheme, and resolved content can flow through the characters() callback. This issue is fixed in version 1.1.2.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche open-source CAD tool, primarily engineering and hobbyist users
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

Vendor StatusVendor

SUSE

Severity: Moderate

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