{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-32462 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-32462 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 18 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-32462 and fix it if it is affected.\n\nWhat it is: CVE-2024-32462 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 18 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-32462 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-32462/ (Markdown: https://insights.sbomify.com/CVE-2024-32462/index.md)","id":"CVE-2024-32462","markdown":"https://insights.sbomify.com/CVE-2024-32462/index.md","name":"CVE-2024-32462","record":{"aliases":["ALSA-2024:3959","ALSA-2024:3961","CLEANSTART-2024-IL49391","CLSA-2025-1741215879","DEBIAN-CVE-2024-32462","DSA-5666-1","GHSA-phv6-cpc2-2fgj","MGASA-2024-0229","OESA-2024-1490","RHSA-2024:3959","RHSA-2024:3960","RHSA-2024:3961","RHSA-2024:3962","RHSA-2024:3963","RHSA-2024:3969","RHSA-2024:3970","RHSA-2024:3979","RHSA-2024:3980","RLSA-2024:3959","RLSA-2024:3961","SUSE-SU-2024:1535-1","SUSE-SU-2024:1536-1","SUSE-SU-2024:1547-1","SUSE-SU-2024:1548-1","SUSE-SU-2024:1803-1","SUSE-SU-2024:1806-1","SUSE-SU-2024:1831-1","SUSE-SU-2024:1832-1","SUSE-SU-2024:2067-1","UBUNTU-CVE-2024-32462","openSUSE-SU-2024:13899-1","openSUSE-SU-2024:13985-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Flatpak sandbox","requires_auth":"low_privilege","summary":"A malicious Flatpak app can escape its sandbox and execute arbitrary code on the host by injecting bwrap arguments via the RequestBackground portal.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"flatpak","vendor":"flatpak"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.4::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::crb","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::crb","Red Hat:rhel_tus:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-05-28","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-05-28T05:07:05Z","kind":"github_poc","ref":"https://github.com/SpiralBL0CK/CVE-2024-32462","stars":1,"title":"CVE-2024-32462 code exec sbx escape"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Flatpak vulnerable to a sandbox escape via RequestBackground portal due to bad argument parsing","id":"CVE-2024-32462","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"command_injection","year":"2024"},"n_packages":205,"n_references":8,"next":{"headline":"phlex makes Cross-site Scripting (XSS) possible due to improper sanitisation of `href` attributes on `\u003ca\u003e` tags","id":"CVE-2024-32463"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/almalinux/flatpak","source":"ALSA-2024:3961"},{"ecosystem":"AlmaLinux:8","fixed":["1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-devel","purl":"pkg:rpm/almalinux/flatpak-devel","source":"ALSA-2024:3961"},{"ecosystem":"AlmaLinux:8","fixed":["1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs","purl":"pkg:rpm/almalinux/flatpak-libs","source":"ALSA-2024:3961"},{"ecosystem":"AlmaLinux:8","fixed":["1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-selinux","purl":"pkg:rpm/almalinux/flatpak-selinux","source":"ALSA-2024:3961"},{"ecosystem":"AlmaLinux:8","fixed":["1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-session-helper","purl":"pkg:rpm/almalinux/flatpak-session-helper","source":"ALSA-2024:3961"},{"ecosystem":"AlmaLinux:9","fixed":["1.12.9-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/almalinux/flatpak","source":"ALSA-2024:3959"},{"ecosystem":"AlmaLinux:9","fixed":["1.12.9-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"flatpak-devel","purl":"pkg:rpm/almalinux/flatpak-devel","source":"ALSA-2024:3959"},{"ecosystem":"AlmaLinux:9","fixed":["1.12.9-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs","purl":"pkg:rpm/almalinux/flatpak-libs","source":"ALSA-2024:3959"},{"ecosystem":"AlmaLinux:9","fixed":["1.12.9-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"flatpak-selinux","purl":"pkg:rpm/almalinux/flatpak-selinux","source":"ALSA-2024:3959"},{"ecosystem":"AlmaLinux:9","fixed":["1.12.9-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"flatpak-session-helper","purl":"pkg:rpm/almalinux/flatpak-session-helper","source":"ALSA-2024:3959"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/redhat/flatpak","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.0.0-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-builder","purl":"pkg:rpm/redhat/flatpak-builder","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-debuginfo","purl":"pkg:rpm/redhat/flatpak-debuginfo","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-devel","purl":"pkg:rpm/redhat/flatpak-devel","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs","purl":"pkg:rpm/redhat/flatpak-libs","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/redhat/flatpak","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.0.0-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-builder","purl":"pkg:rpm/redhat/flatpak-builder","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-debuginfo","purl":"pkg:rpm/redhat/flatpak-debuginfo","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-devel","purl":"pkg:rpm/redhat/flatpak-devel","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs","purl":"pkg:rpm/redhat/flatpak-libs","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/redhat/flatpak","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.0.0-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-builder","purl":"pkg:rpm/redhat/flatpak-builder","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-debuginfo","purl":"pkg:rpm/redhat/flatpak-debuginfo","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-devel","purl":"pkg:rpm/redhat/flatpak-devel","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs","purl":"pkg:rpm/redhat/flatpak-libs","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/redhat/flatpak","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.0.0-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-builder","purl":"pkg:rpm/redhat/flatpak-builder","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-debuginfo","purl":"pkg:rpm/redhat/flatpak-debuginfo","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-devel","purl":"pkg:rpm/redhat/flatpak-devel","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.0.9-13.el7_9"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs","purl":"pkg:rpm/redhat/flatpak-libs","source":"RHSA-2024:3980"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/redhat/flatpak","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-debuginfo","purl":"pkg:rpm/redhat/flatpak-debuginfo","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-debugsource","purl":"pkg:rpm/redhat/flatpak-debugsource","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs","purl":"pkg:rpm/redhat/flatpak-libs","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-libs-debuginfo","purl":"pkg:rpm/redhat/flatpak-libs-debuginfo","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-selinux","purl":"pkg:rpm/redhat/flatpak-selinux","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-session-helper","purl":"pkg:rpm/redhat/flatpak-session-helper","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-session-helper-debuginfo","purl":"pkg:rpm/redhat/flatpak-session-helper-debuginfo","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak-tests-debuginfo","purl":"pkg:rpm/redhat/flatpak-tests-debuginfo","source":"RHSA-2024:3961"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.12.9-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"flatpak","purl":"pkg:rpm/redhat/flatpak","source":"RHSA-2024:3961"}],"prev":{"headline":"LibreNMS vulnerable to time-based SQL injection that leads to database extraction","id":"CVE-2024-32461"},"products":["flatpak"],"published":"2024-04-18","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-16","vendors":["flatpak"]},"summary":"A malicious Flatpak app can escape its sandbox and execute arbitrary code on the host by injecting bwrap arguments via the RequestBackground portal.","url":"https://insights.sbomify.com/CVE-2024-32462/"}