CVE-2026-73234

FreeCAD: FCStd path traversal allows arbitrary file write via unsanitized file attribute in PropertyFileIncluded::Restore()

Published Aug 11, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
FreeCAD is a free and open-source multiplatform 3D parametric modeler. Prior to 1.1.2, PropertyFileIncluded::Restore() in src/App/PropertyFile.cpp concatenates an attacker-controlled file or data attribute from Document.xml with the document transient path without rejecting directory components, absolute paths, or parent traversal. A crafted .FCStd archive with a matching FileIncluded XML attribute and ZIP entry can therefore write attacker-controlled content to arbitrary locations accessible to the FreeCAD user, potentially enabling persistence, credential compromise, configuration replacement, or code execution. This issue is fixed in version 1.1.2.

Analysis

AI-generated

Technical impact

The flaw resides in PropertyFileIncluded::Restore(), which concatenates a user-controlled file name from Document.xml with the path to the transient document location without rejecting directory components, absolute paths, or parent traversal. This permits an attacker to craft a .FCStd archive that injects any file name, allowing the prepared FCStd file to write arbitrary content to locations reachable by the FreeCAD user. The consequence includes unauthorized persistence, credential theft, configuration replacement, and potentially execution of malicious code if a file with executable payload reaches a system executable path or a place where FreeCAD will load it.

Affected Systems

The vulnerability affects FreeCAD versions prior to 1.1.2, deployed by the FreeCAD project. Any installation of the software that has not upgraded beyond 1.1.2 is susceptible.

Risk and Exploitability

With a CVSS score of 7.8 this issue is classified as high severity. The EPSS score is less than 1 %, suggesting that exploitation is not widespread yet, and the vulnerability is not listed in CISA’s KEV catalog. The exploitation requires a malicious .FCStd file that an attacker crafts; a local user must open or import the file. Attacking conditions are minimal – no complex network access or elevated privileges are needed beyond the victim’s user account. The attack vector is predominantly local, though if the compromised file is placed in a shared or networked location, it may affect other users who subsequently open the file.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FreeCAD 1.1.2 or later which removes the unsanitized path construction
  • Avoid opening or importing unfamiliar or untrusted .FCStd files until the upgrade is confirmed
  • After upgrading, audit existing .FCStd files in shared or collaboration environments to ensure no malicious file attributes remain

Generated by OpenCVE AI on August 12, 2026 at 20:25 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': 'poc', 'Technical Impact': 'total'}, '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, PropertyFileIncluded::Restore() in src/App/PropertyFile.cpp concatenates an attacker-controlled file or data attribute from Document.xml with the document transient path without rejecting directory components, absolute paths, or parent traversal. A crafted .FCStd archive with a matching FileIncluded XML attribute and ZIP entry can therefore write attacker-controlled content to arbitrary locations accessible to the FreeCAD user, potentially enabling persistence, credential compromise, configuration replacement, or code execution. This issue is fixed in version 1.1.2.
Title FreeCAD: FCStd path traversal allows arbitrary file write via unsanitized file attribute in PropertyFileIncluded::Restore()
Weaknesses CWE-22
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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 2:43 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