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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-59
- **Published:** 2022-02-17T22:15:18.000Z
- **Modified:** 2026-06-17T04:12:46.330Z

## Who should check

- Anyone running Canonical Ltd. snapd \>= unspecified, \<= 2.54.2

## 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

## Affected and fixed versions

- Canonical Ltd. snapd: \>= unspecified, \<= 2.54.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-44730. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-44730.md
Affected: Canonical Ltd. snapd >= unspecified, <= 2.54.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Canonical Ltd. snapd: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-44730 being exploited?

There is no confirmed exploitation: CVE-2021-44730 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-44730?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-44730?

Canonical Ltd. snapd \>= unspecified, \<= 2.54.2.

### Is there a fix for CVE-2021-44730?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-44730?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-44730>

HTML: <https://flawdb.com/CVE-2021-44730> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-44730>
