CVE-2021-45845
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an...
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
- Record
CVE-2021-45845- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE List No score
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
- Record
CVE-2021-45845- Updated
- 2026-11-02
EUVDEUVD-2021-32563 No score
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
- Record
EUVD-2021-32563- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pp7p-q5v7-3cr2
7.8
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an...
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
- Record
GHSA-pp7p-q5v7-3cr2- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
7.8
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
- Record
CVE-2021-45845- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-45845
7.8
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
- Record
DEBIAN-CVE-2021-45845- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-45845
7.8
The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document.
- Record
UBUNTU-CVE-2021-45845- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
freecadDebian:12 |
before 0.19.4+dfsg1-1 | 0.19.4+dfsg1-1 |
freecadDebian:13 |
before 0.19.4+dfsg1-1 | 0.19.4+dfsg1-1 |
freecadDebian:14 |
before 0.19.4+dfsg1-1 | 0.19.4+dfsg1-1 |
freecadDebian:11 From an advisory covering 2 CVEs |
before 0.19.1+dfsg1-2+deb11u1, plus listed versions 0.19.1+dfsg1-2 |
0.19.1+dfsg1-2+deb11u1 |
freecadUbuntu:22.04:LTS |
All versions, plus listed versions 0.19.1+dfsg1-20.19.2+dfsg1-30.19.2+dfsg1-3ubuntu1 |
None known |
freecadUbuntu:26.10 |
All versions, plus listed versions 1.1.1+dfsg-31.1.1+dfsg-3build11.1.3+dfsg-3build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-45845 is a high vulnerability (CVSS 7.8) in Freecadweb Freecad, published January 25, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.92%, the 79th percentile. Fixed in freecad 0.19.4+dfsg1-1.
References
tracker.freecad.org/view.php?id=4810
github.com/FreeCAD/FreeCAD/pull/5306
debian.org/security/2022/dsa-5229
nvd.nist.gov/vuln/detail/CVE-2021-45845
github.com/advisories/GHSA-pp7p-q5v7-3cr2
security-tracker.debian.org/tracker/CVE-2021-45845
ubuntu.com/security/CVE-2021-45845
cve.org/CVERecord?id=CVE-2021-45845