CVE-2026-73235

FreeCAD: XXE file read and SSRF via external entity injection in Document.xml SAX parser

Published Aug 11, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability lies in the XML parsing logic of FreeCAD 1.1.1 and earlier where the Xerces SAX2 XMLReader does not disable external entity resolution or external DTD loading. Attackers can embed malicious external entities in the Document.xml file inside a .FCStd archive. When the Document::restore() function processes the archive, the external entity can resolve local file contents via a file:// URI or trigger HTTP requests to arbitrary servers via an http:// URI, causing local file disclosure and potential SSRF. The flaw is identified as CWE-611 and can lead to information disclosure and unintended network traffic from the host.

Affected Systems

The affected product is the FreeCAD application. All releases before version 1.1.2 are vulnerable, including the 1.1.x series and prior releases. Systems running these versions and that will open or import untrusted .FCStd files are susceptible. The fix is delivered in release 1.1.2 and later.

Risk and Exploitability

The CVSS score of 6.1 rates this as a medium severity vulnerability, and the EPSS score indicates an exploitation probability of less than 1 percent, suggesting the risk of immediate exploitation is low. The vulnerability is not listed in the CISA KEV catalog. Exfiltration of local files or initiation of server‑side requests requires a user to open a malicious .FCStd document; therefore the attack vector is primarily local. Once the affected application is run with a crafted file, the external entity resolution is automatically enabled, and the attacker’s payload is processed through the characters() callback.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FreeCAD 1.1.2 or newer, which removes the external entity resolution flaw.
  • If upgrading is not immediately possible, configure the XML parser to disable external entity resolution or external DTD loading to mitigate CWE-611.
  • Restrict the opening of .FCStd files from untrusted sources and ensure that custom XML parsers in the environment enforce the same external entity restrictions.

Generated by OpenCVE AI on August 12, 2026 at 20:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4815-1 freecad security update
Debian DSA Debian DSA DSA-6467-1 freecad security update
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Freecad
Freecad freecad
Vendors & Products Freecad
Freecad freecad
Type Values Removed Values Added
Description 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.
Title FreeCAD: XXE file read and SSRF via external entity injection in Document.xml SAX parser
Weaknesses CWE-611
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 12, 2026, 10:13 PM
Reserved
Aug 11, 2026, 2:41 PM
Status
Awaiting Analysis
Published
Aug 11, 2026, 8:18 PM
Modified
Sep 9, 2026, 8:50 PM