# CVE-2020-11934: Sandbox escape vulnerability via snapctl user-open (xdg-open)

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-07-29 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2020-11934, USN-4424-1, DEBIAN-CVE-2020-11934
- Record: https://cvemate.com/vulnerability/CVE-2020-11934 · JSON: https://cvemate.com/vulnerability/CVE-2020-11934/json

## Description

```text
It was discovered that snapctl user-open allowed altering the $XDG_DATA_DIRS environment variable when calling the system xdg-open. OpenURL() in usersession/userd/launcher.go would alter $XDG_DATA_DIRS to append a path to a directory controlled by the calling snap. A malicious snap could exploit this to bypass intended access restrictions to control how the host system xdg-open script opens the URL and, for example, execute a script shipped with the snap without confinement. This issue did not affect Ubuntu Core systems. Fixed in snapd versions 2.45.1ubuntu0.2, 2.45.1+18.04.2 and 2.45.1+20.04.2.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
- EPSS: 0.365%, percentile 32.377%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical snapd: ≥ 2.45.1, \< 2.45.1ubuntu0.2
- canonical ubuntu\_linux: 16.04 \| 18.04 \| 19.10 \| 20.04
- debian snapd (Debian): \< 2.45.2-1
- ubuntu snapd (Ubuntu): \< 2.45.1ubuntu0.2 \| \< 2.45.1+18.04.2 \| \< 2.45.1+20.04.2

## References

- <https://ubuntu.com/USN-4424-1>
- <https://launchpad.net/bugs/1880085>
- <https://ubuntu.com/security/CVE-2020-11934>
- <https://ubuntu.com/security/notices/USN-4424-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-11934>
- <https://ubuntu.com/security/CVE-2020-11933>
- <https://security-tracker.debian.org/tracker/CVE-2020-11934>

---

Data as of 2026-12-05T02:36:09.532Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
