{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-11934","id":"CVE-2020-11934","title":"Sandbox escape vulnerability via snapctl user-open (xdg-open)","description":"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 UR","descriptionLong":"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.","published":"2020-07-29T16:25:26.118Z","updated":"2026-06-17T02:51:05.153Z","reserved":"2020-04-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"canonical"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":1.9,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Canonical snapd"],"affectedProducts":[{"vendor":"Canonical","product":"snapd","defaultStatus":null,"versions":[{"changes":[{"at":"2.45.1+18.04.2","status":"unaffected"},{"at":"2.45.1+20.04.2","status":"unaffected"}],"lessThan":"2.45.1ubuntu0.2","status":"affected","version":"2.45.1","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-668"],"aliases":[],"references":[{"url":"https://ubuntu.com/USN-4424-1","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://launchpad.net/bugs/1880085","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00365,"epssPercentile":0.30991,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-11934","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11934","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-11934","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-11934","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}