Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-32462— Flatpak vulnerable to a sandbox escape via RequestBackground portal due to bad argument parsing

Quick assessment

Affected
flatpak flatpak
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Flatpak是一套用于Linux桌面应用计算机环境的应用程序虚拟化系统。 Flatpak 1.10.9、1.12.9、1.14.6 和 1.15.8 之前版本存在安全漏洞,该漏洞源于将 Flatpak 与 xdg-desktop-portal 结合使用时可能导致沙箱逃逸。

CVSS 8.4 · High EPSS 0.51% · P41

Possible ATT&CK Techniques 1 AI

T1611 · Escape to Host
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-32462

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Flatpak vulnerable to a sandbox escape via RequestBackground portal due to bad argument parsing
Source: CVE Program / CVE List V5
Vulnerability Description
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. in versions before 1.10.9, 1.12.9, 1.14.6, and 1.15.8, a malicious or compromised Flatpak app could execute arbitrary code outside its sandbox. Normally, the `--command` argument of `flatpak run` expects to be given a command to run in the specified Flatpak app, optionally along with some arguments. However it is possible to instead pass `bwrap` arguments to `--command=`, such as `--bind`. It's possible to pass an arbitrary `commandline` to the portal interface `org.freedesktop.portal.Background.RequestBackground` from within a Flatpak app. When this is converted into a `--command` and arguments, it achieves the same effect of passing arguments directly to `bwrap`, and thus can be used for a sandbox escape. The solution is to pass the `--` argument to `bwrap`, which makes it stop processing options. This has been supported since bubblewrap 0.3.0. All supported versions of Flatpak require at least that version of bubblewrap. xdg-desktop-portal version 1.18.4 will mitigate this vulnerability by only allowing Flatpak apps to create .desktop files for commands that do not start with --. The vulnerability is patched in 1.15.8, 1.10.9, 1.12.9, and 1.14.6.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
参数注入或修改
Source: CVE Program / CVE List V5
Vulnerability Title
Flatpak 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Flatpak是一套用于Linux桌面应用计算机环境的应用程序虚拟化系统。 Flatpak 1.10.9、1.12.9、1.14.6 和 1.15.8 之前版本存在安全漏洞,该漏洞源于将 Flatpak 与 xdg-desktop-portal 结合使用时可能导致沙箱逃逸。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
flatpak flatpak < 1.10.9 -

II. Public POCs for CVE-2024-32462

# POC Description Source Link Shenlong Link
1 CVE-2024-32462 code exec sbx escape https://github.com/SpiralBL0CK/CVE-2024-32462 POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8183 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-32462

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-32462 (4)

Vendor Advisories for CVE-2024-32462 (1)

Mailing List Discussions for CVE-2024-32462 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2024-32462

No comments yet


Leave a comment