Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2021-43860
flatpak

Score8.6 High
CVSS 3.1
Exploit probability (EPSS)1.4%
within the next 30 days
CategoryAccess control & privilege
Published12 January 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, without logging in, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

The impact can spread beyond the vulnerable component.

Weakness type: Improper privilege management.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.12.3 and 1.10.6, Flatpak doesn't properly validate that the permissions displayed to the user for an app at install time match the actual permissions granted to the app at runtime, in the case that there's a null byte in the metadata file of an app. Therefore apps can grant themselves permissions without the consent of the user. Flatpak shows permissions to the user during install by reading them from the "xa.metadata" key in the commit metadata. This cannot contain a null terminator, because it is an untrusted GVariant. Flatpak compares these permissions to the *actual* metadata, from the "metadata" file to ensure it wasn't lied to. However, the actual metadata contents are loaded in several places where they are read as simple C-style strings. That means that, if the metadata file includes a null terminator, only the content of the file from *before* the terminator gets compared to xa.metadata. Thus, any permissions that appear in the metadata file after a null terminator are applied at runtime but not shown to the user. So maliciously crafted apps can give themselves hidden permissions. Users who have Flatpaks installed from untrusted sources are at risk in case the Flatpak has a maliciously crafted metadata file, either initially or in an update. This issue is patched in versions 1.12.3 and 1.10.6. As a workaround, users can manually check the permissions of installed apps by checking the metadata file or the xa.metadata key on the commit metadata.

CVSS: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Weakness: CWE-269 – Improper privilege management, CWE-276 – Incorrect default permissions

Affected products

VendorProductVersions
flatpakflatpak<1.10.6
flatpakflatpak>=1.11.1 <=1.12.3
fedoraprojectfedora35
redhatenterprise linux8.0
debiandebian linux9.0
debiandebian linux10.0
debiandebian linux11.0

Sources

Latest in the same category

  • CVE-2026-140131 Low 2.1
    A vulnerability has been found in marcpope borgbackupserver up to 2.99.7. This impacts the function restoreOrphan of the file src/Controllers/RepositoryController.php. Such manipulation of the argument repo_name leads…
    Access control & privilege · 1 December 2026
  • CVE-2026-140130 Low 2.1
    A flaw has been found in jobic10 student-management-using-django up to 066dcaeffc52fe52e9279d93e2a00c15909544ae. This affects the function get_students/save_attendance/get_student_attendance/update_attendance of the…
    Access control & privilege · 1 December 2026
  • CVE-2026-137355 Medium 4.3
    The WPGlobus plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the on_process_ajax() function in versions up to, and including, 3.0.7 The handler is registered…
    Access control & privilege · 1 December 2026
  • CVE-2026-133936 Medium 4.3
    The Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 5.7.10. This is due to the plugin not…
    Access control & privilege · 1 December 2026
  • CVE-2026-130475 Medium 5.5
    Foxit PDF Editor/Reader does not require explicit user approval before untrusted PDF scripts invoke SOAP.request(). A specially crafted document can therefore trigger silent network requests when opened, potentially…
    Access control & privilege · 1 December 2026
  • CVE-2026-119009 Medium 5
    OOB read vulnerability in the file preview module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
    Access control & privilege · 1 December 2026