BreachSpiderVerified, not vibes

CVE-2024-42472 in Debian Linux and 1 more product

Critical 10.0

Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.14.0 and 1.15.10, a malicious or compromised Flatpak app using persistent directories could access and write files outside of what it would otherwise have access to, which is an attack on integrity and confidentiality. When `p...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.110.0
EPSS1.6%
EPSS percentile76th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Flatpak Flatpak < 1.14.10 ≥ 1.15.0, < 1.15.10

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.14.0 and 1.15.10, a malicious or compromised Flatpak app using persistent directories could access and write files outside of what it would otherwise have access to, which is an attack on integrity and confidentiality. When `persistent=subdir` is used in the application permissions (represented as `--persist=subdir` in the command-line interface), that means that an application which otherwise doesn't have access to the real user home directory will see an empty home directory with a writeable subdirectory `subdir`. Behind the scenes, this directory is actually a bind mount and the data is stored in the per-application directory as `~/.var/app/$APPID/subdir`. This allows existing apps that are not aware of the per-application directory to still work as intended without general home directory access. However, the application does have write access to the application directory `~/.var/app/$APPID` where this directory is stored. If the source directory for the `persistent`/`--persist` option is replaced by a symlink, then the next time the application is started, the bind mount will follow the symlink and mount whatever it points to into the sandbox. Partial protection against this vulnerability can be provided by patching Flatpak using the patches in commits ceec2ffc and 98f79773. However, this leaves a race condition that could be exploited by two instances of a malicious app running in parallel. Closing the race condition requires updating or patching the version of bubblewrap that is used by Flatpak to add the new `--bind-fd` option using the patch and then patching Flatpak to use it. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=bwrap` (1.15.x) or `--with-system-bubblewrap=bwrap` (1.14.x or older), or a similar option, then the version of bubblewrap that needs to be patched is a system copy that is distributed separately, typically `/usr/bin/bwrap`. This configuration is the one that is typically used in Linux distributions. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=` (1.15.x) or with `--without-system-bubblewrap` (1.14.x or older), then it is the bundled version of bubblewrap that is included with Flatpak that must be patched. This is typically installed as `/usr/libexec/flatpak-bwrap`. This configuration is the default when building from source code. For the 1.14.x stable branch, these changes are included in Flatpak 1.14.10. The bundled version of bubblewrap included in this release has been updated to 0.6.3. For the 1.15.x development branch, these changes are included in Flatpak 1.15.10. The bundled version of bubblewrap in this release is a Meson "wrap" subproject, which has been updated to 0.10.0. The 1.12.x and 1.10.x branches will not be updated for this vulnerability. Long-term support OS distributions should backport the individual changes into their versions of Flatpak and bubblewrap, or update to newer versions if their stability policy allows it. As a workaround, avoid using applications using the `persistent` (`--persist`) permission.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-42472
BreachSpider IDBS-2024-GLOBAL-204177-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Published2024-08-15
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-74: Injection

Parent class for all injection vulnerabilities where attacker-supplied data is interpreted as code or commands.

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-74

CAPEC-7 Blind SQL Injection via CWE-74

CAPEC-8 Buffer Overflow in an API Call via CWE-74

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-74

CAPEC-10 Buffer Overflow via Environment Variables via CWE-74

Show all 37

CAPEC-13 Subverting Environment Variable Values via CWE-74

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-74

CAPEC-24 Filter Failure through Buffer Overflow via CWE-74

CAPEC-34 HTTP Response Splitting via CWE-74

CAPEC-42 MIME Conversion via CWE-74

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-74

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-74

CAPEC-46 Overflow Variables and Tags via CWE-74

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-74

CAPEC-51 Poison Web Service Registry via CWE-74

CAPEC-52 Embedding NULL Bytes via CWE-74

CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-74

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-74

CAPEC-67 String Format Overflow in syslog() via CWE-74

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-74

CAPEC-72 URL Encoding via CWE-74

CAPEC-76 Manipulating Web Input to File System Calls via CWE-74

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-74

CAPEC-79 Using Slashes in Alternate Encoding via CWE-74

CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-74

CAPEC-83 XPath Injection via CWE-74

CAPEC-84 XQuery Injection via CWE-74

CAPEC-101 Server Side Include (SSI) Injection via CWE-74

CAPEC-105 HTTP Request Splitting via CWE-74

CAPEC-108 Command Line Execution through SQL Injection via CWE-74

CAPEC-120 Double Encoding via CWE-74

CAPEC-273 HTTP Response Smuggling via CWE-74

CAPEC-6 Argument Injection via CWE-74

CAPEC-135 Format String Injection via CWE-74

CAPEC-250 XML Injection via CWE-74

CAPEC-267 Leverage Alternate Encoding via CWE-74

CAPEC-28 Fuzzing via CWE-74

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Flatpak prior to versions 1.14.0 and 1.15.10 allows a malicious or compromised Flatpak app to access and write files outside its intended sandbox, compromising integrity and confidentiality.

The attack vector involves a malicious Flatpak application using the 'persistent=subdir' permission to access and modify files outside its designated sandbox environment. This can lead to unauthorized data access and modification.

Questions

What is CVE-2024-42472?

A vulnerability in Flatpak prior to versions 1.14.0 and 1.15.10 allows a malicious or compromised Flatpak app to access and write files outside its intended sandbox, compromising integrity and confidentiality.

What is the CVSS score for CVE-2024-42472?

CVE-2024-42472 has CVSS 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N. EPSS: 1.6%.

Is CVE-2024-42472 actively exploited?

No confirmed active exploitation of CVE-2024-42472 as of 2026-09-25.

How do I remediate CVE-2024-42472?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-42472?

CVE-2024-42472 affects Debian Debian Linux; Flatpak Flatpak.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.