Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconDeliver crafted .FCStd via phishing or file share
-
DeliveryVictim opens malicious archive in FreeCAD
-
ExploitDocument::restore() invokes Xerces SAX2 XMLReader
-
InstallExternal entity in Document.xml resolved without restriction
-
C2Local file read via file:// URI or SSRF via http:// URI
-
ExecuteFile contents flow through SAX characters() callback
-
ImpactData 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
EUVD-2026-56933
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB