{"id":"CVE-2021-45845","aliases":["DEBIAN-CVE-2021-45845","DSA-5229-1","EUVD-2021-32563","GHSA-pp7p-q5v7-3cr2","UBUNTU-CVE-2021-45845"],"status":"published","title":"The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an...","description":"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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01916,"percentile":0.80005,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2022-01-25T12:55:21Z","modified":"2026-10-23T18:04:57Z","fixes":[{"ecosystem":"Debian:12","package":"freecad","fixed_in":["0.19.4+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"freecad","fixed_in":["0.19.4+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"freecad","fixed_in":["0.19.4+dfsg1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.4+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.4+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.4+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.1+dfsg1-2+deb11u1"}]}],"versions":["0.19.1+dfsg1-2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.1+dfsg1-2","0.19.2+dfsg1-3","0.19.2+dfsg1-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"freecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.1+dfsg-3","1.1.1+dfsg-3build1","1.1.3+dfsg-3build1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"freecadweb","product":"freecad"}],"references":[{"url":"https://tracker.freecad.org/view.php?id=4810","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Vendor Advisory","fix","report"]},{"url":"https://github.com/FreeCAD/FreeCAD/pull/5306","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","report"]},{"url":"https://www.debian.org/security/2022/dsa-5229","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45845"},{"url":"https://github.com/advisories/GHSA-pp7p-q5v7-3cr2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-45845","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-45845","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-45845","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-45845","description":"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.","status":"published","published":"2022-01-25T12:55:21Z","modified":"2024-08-04T04:54:31.174Z","updated_at":"2026-11-02T14:33:02.580561Z"}],"euvd":[{"id":"EUVD-2021-32563","description":"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.","status":"published","published":"2022-01-25T12:55:21Z","modified":"2024-08-04T04:54:31Z","updated_at":"2026-11-03T03:08:25.222984Z"}],"ghsa":[{"id":"GHSA-pp7p-q5v7-3cr2","title":"The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an...","description":"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.","status":"published","published":"2022-01-26T00:01:37Z","modified":"2023-02-01T05:07:17Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:50:31.141675Z"}],"nvd":[{"id":"CVE-2021-45845","description":"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.","status":"published","published":"2022-01-25T13:15:08.037Z","modified":"2026-06-17T04:14:09.383Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:07:03.821385Z"}],"osv":[{"id":"CVE-2021-45845","description":"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.","status":"published","published":"2022-01-25T13:15:08.037Z","modified":"2026-10-20T10:57:48.316231624Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"DEBIAN-CVE-2021-45845","description":"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.","status":"published","published":"2022-01-25T13:15:08.037Z","modified":"2026-10-23T18:04:57.310511211Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"UBUNTU-CVE-2021-45845","description":"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.","status":"published","published":"2022-01-25T13:15:00Z","modified":"2026-10-17T12:55:48.163025198Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:30.277322Z"},{"id":"DSA-5229-1","title":"freecad - security update","status":"published","published":"2022-09-13T00:00:00Z","modified":"2026-03-09T02:10:30.266872Z","updated_at":"2026-11-02T15:46:17.543497Z"}]}}
