CVE-2020-11934
Sandbox escape vulnerability via snapctl user-open (xdg-open)
Reported by canonical · Published July 29, 2020
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| snapd | Canonical | 2.45.1ubuntu0.2 |
| snapd | Ubuntu:18.04:LTS | 2.45.1+18.04.2 |
| snapd | Ubuntu:20.04:LTS | 2.45.1+20.04.2 |
| snapd | Ubuntu:16.04:LTS | 2.45.1ubuntu0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | snapd | 2.45.1 |
| Canonical | snapd | 2.45.1 |
Timeline
- Jul 15, 2020 CVE Published
- Jul 29, 2020 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-11934
vulnetix vdb fixes CVE-2020-11934
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-11934/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart