Every CVE Search/ Get API key

CVE-2021-45845

The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an...

7.8 HighFix available

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

1.92%Up 1.5 points since Jan 25, 2022
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
freecad
Debian:12
before 0.19.4+dfsg1-1
0.19.4+dfsg1-1
freecad
Debian:13
before 0.19.4+dfsg1-1
0.19.4+dfsg1-1
freecad
Debian:14
before 0.19.4+dfsg1-1
0.19.4+dfsg1-1
freecad
Debian: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
freecad
Ubuntu:22.04:LTS
All versions, plus listed versions
0.19.1+dfsg1-20.19.2+dfsg1-30.19.2+dfsg1-3ubuntu1
None known
freecad
Ubuntu:26.10
All versions, plus listed versions
1.1.1+dfsg-31.1.1+dfsg-3build11.1.3+dfsg-3build1
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

MoveEnter Open