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

CVE-2022-21682
flatpak

Score6.5 Medium
CVSS 3.1
Exploit probability (EPSS)1.5%
within the next 30 days
CategoryAccess control & privilege
Published13 January 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: modifying data.

Weakness type: Path traversal.

✨ 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. A path traversal vulnerability affects versions of Flatpak prior to 1.12.3 and 1.10.6. flatpak-builder applies `finish-args` last in the build. At this point the build directory will have the full access that is specified in the manifest, so running `flatpak build` against it will gain those permissions. Normally this will not be done, so this is not problem. However, if `--mirror-screenshots-url` is specified, then flatpak-builder will launch `flatpak build --nofilesystem=host appstream-utils mirror-screenshots` after finalization, which can lead to issues even with the `--nofilesystem=host` protection. In normal use, the only issue is that these empty directories can be created wherever the user has write permissions. However, a malicious application could replace the `appstream-util` binary and potentially do something more hostile. This has been resolved in Flatpak 1.12.3 and 1.10.6 by changing the behaviour of `--nofilesystem=home` and `--nofilesystem=host`.

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

Weakness: CWE-22 – Path traversal

Affected products

VendorProductVersions
flatpakflatpak<1.10.7
flatpakflatpak>=1.11.1 <1.12.4
flatpakflatpak-builder<1.2.2
fedoraprojectfedora35
redhatenterprise linux8.0
debiandebian linux9.0
debiandebian linux10.0
debiandebian linux11.0

Sources

Latest in the same category

  • CVE-2026-92440 High 7
    Incorrect route priority calculation in Kong Gateway Enterprise and Kong AI Gateway, when route_match_calculation is original (the default) with the traditional_compatible or expressions router, can select an…
    Access control & privilege · 30 November 2026
  • CVE-2026-125088 High 8.6
    Incorrect authorization in the Admins API of Kong Gateway Enterprise and Kong AI Gateway allows a workspace-scoped administrator to modify administrator accounts outside its workspace via wildcard scoping, obtaining…
    Access control & privilege · 30 November 2026
  • CVE-2026-125019 High 8.6
    Improper privilege management in the Admins API of Kong Gateway Enterprise and Kong AI Gateway allows a delegated, non-super-admin administrator with write access to the /admins endpoints to obtain full Admin API…
    Access control & privilege · 30 November 2026
  • CVE-2026-63271 Medium 6.7
    LibreOffice presentations can link to sounds, and SVG images and XHTML documents can link to images and objects. A crafted document could link to a local file in one of these ways and have that file's content put into…
    Access control & privilege · 30 November 2026
  • CVE-2026-139855 Low 2.1
    A weakness has been identified in SourceCodester Student Grading System 1.0. This issue affects some unknown processing of the file report_card.php of the component Report Card. Executing a manipulation of the argument…
    Access control & privilege · 30 November 2026
  • CVE-2026-104815 Medium 6.7
    LibreOffice Calc can take the data of a pivot table or a database range from a database that the document names by address. A crafted document could name a local folder of text files this way, so that the content of a…
    Access control & privilege · 30 November 2026