# CVE-2021-44730: snapd could be made to escalate privileges and run programs as administrator

- Severity: High 7.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2022-02-17T22:15:18.000Z
- Modified: 2026-06-17T04:12:46.330Z
- Weaknesses: CWE-59
- Assigned by: canonical

## Description

snapd 2.54.2 did not properly validate the location of the snap-confine binary. A local attacker who can hardlink this binary to another location to cause snap-confine to execute other arbitrary binaries and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

(As written by CVE List.)

## Affected

- Canonical Ltd. snapd: from unspecified up to 2.54.2
- canonical snapd: up to 2.54.2
- canonical ubuntu_linux: 18.04; 20.04; 21.10
- fedoraproject fedora: 34; 35
- debian debian_linux: 10.0; 11.0

## Every score

- canonical: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://ubuntu.com/security/notices/USN-5292-1> (patch, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/02/18/2> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QTBN7LLZISXIA4KU4UKDR27Q5PXDS2U/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XCGHG6LJAVJJ72TMART6A7N4Z6MSTGI7/> (vendor-advisory)
- <https://www.debian.org/security/2022/dsa-5080> (issue-tracking, third-party-advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/02/23/1> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-44730](https://www.cve.org/CVERecord?id=CVE-2021-44730), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-44730](https://nvd.nist.gov/vuln/detail/CVE-2021-44730), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-44730 · Whole record: https://cve.day/CVE-2021-44730.json · Rebuilt by cve.day 2026-11-25T22:24:36.710Z
