{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-41133","id":"CVE-2021-41133","title":"Sandbox bypass via recent VFS-manipulating syscalls","description":"Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In versions prior to 1.10.4 and 1.12.0, Flatpak apps with direct access to AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can trick portals and other host-OS services into treating the Flatpak app as though it was an ordinary, non-sandboxed host-OS process. They can do th","descriptionLong":"Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In versions prior to 1.10.4 and 1.12.0, Flatpak apps with direct access to AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can trick portals and other host-OS services into treating the Flatpak app as though it was an ordinary, non-sandboxed host-OS process. They can do this by manipulating the VFS using recent mount-related syscalls that are not blocked by Flatpak's denylist seccomp filter, in order to substitute a crafted `/.flatpak-info` or make that file disappear entirely. Flatpak apps that act as clients for AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can escalate the privileges that the corresponding services will believe the Flatpak app has. Note that protocols that operate entirely over the D-Bus session bus (user bus), system bus or accessibility bus are not affected by this. This is due to the use of a proxy process `xdg-dbus-proxy`, whose VFS cannot be manipulated by the Flatpak app, when interacting with these buses. Patches exist for versions 1.10.4 and 1.12.0, and as of time of publication, a patch for version 1.8.2 is being planned. There are no workarounds aside from upgrading to a patched version.","published":"2021-10-08T00:00:00.000Z","updated":"2026-10-20T14:29:25.993266292Z","reserved":"2021-09-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["flatpak"],"affectedProducts":[{"vendor":"flatpak","product":"flatpak","defaultStatus":null,"versions":[{"version":">= 1.8.0, <= 1.8.2","status":"affected"},{"version":">= 1.10.0, < 1.10.4","status":"affected"},{"version":">= 1.11.0, < 1.12.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-20"],"aliases":["GHSA-67h7-w3jq-vh4q"],"references":[{"url":"https://github.com/flatpak/flatpak/security/advisories/GHSA-67h7-w3jq-vh4q","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/1330662f33a55e88bfe18e76de28b7922d91a999","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/26b12484eb8a6219b9e7aa287b298a894b2f34ca","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/462fca2c666e0cd2b60d6d2593a7216a83047aaf","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/4c34815784e9ffda5733225c7d95824f96375e36","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/89ae9fe74c6d445bb1b3a40e568d77cf5de47e48","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/9766ee05b1425db397d2cf23afd24c7f6146a69f","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/a10f52a7565c549612c92b8e736a6698a53db330","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/flatpak/flatpak/commit/e26ac7586c392b5eb35ff4609fe232c52523b2cf","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R5656ONDP2MGKIJMKEC7N2NXCV27WGTC/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://www.debian.org/security/2021/dsa-4984","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/26/9","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T5DKCYRC6MFSTFCUP4DELCOUUP3SFEFX/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/202312-12","tags":["vendor-advisory","x_transferred","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00436,"epssPercentile":0.38656,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-41133","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41133","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-41133","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-2021-41133","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}