Flatpak Builder
Approved changes feed: RSS · Atom
cpe:2.3:a:flatpak:flatpak-builder:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Flatpak (6a4ac12a-bf2f-55b5-915d-7e649813205b) |
|---|---|
| Product | Flatpak Builder (993dbe47-9360-52db-b5f8-49154dd9afe0) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:deb/debian/flatpak-builder |
purl2cpe | 2026-06-01 10:16:11.667258 |
pkg:deb/ubuntu/flatpak-builder |
purl2cpe | 2026-06-01 10:16:11.667260 |
pkg:github/endlessm/flatpak-builder |
purl2cpe | 2026-06-01 10:16:11.667261 |
pkg:github/flatpak/flatpak-builder |
purl2cpe | 2026-06-01 10:16:11.667263 |
pkg:rpm/centos/flatpak-builder |
purl2cpe | 2026-06-01 10:16:11.667264 |
pkg:rpm/fedora/flatpak-builder |
purl2cpe | 2026-06-01 10:16:11.667266 |
pkg:rpm/opensuse/flatpak-builder |
purl2cpe | 2026-06-01 10:16:11.667267 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-39977 |
vulnerable | 2026-06-08 08:01:17.266619 |
flatpak-builder has a path traversal leading to arbitrary file read on host when installing licence files
flatpak-builder is a tool to build flatpaks from source. From 1.4.5 to before 1.4.8, the license-files manifest key takes an array of paths to user defined licence files relative to the source directory of the module. The paths from that array are resolved using g_file_resolve_relative_path() and validated to stay inside the source directory using two checks - g_file_get_relative_path() which does not resolve symlinks and g_file_query_file_type() with G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS which only applies to the final path component. The copy operation runs on host. This can be exploited by using a crafted manifest and/or source to read arbitrary files from the host and capture them into the build output. This vulnerability is fixed in 1.4.8.
Published: 2026-04-09T19:05:23.616Z
Updated: 2026-04-09T20:19:28.323Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-21682 |
vulnerable | 2026-06-08 05:40:01.992817 |
flatpak-builder can access files outside the build directory.
HIGH (7.7)
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`.
Published: 2022-01-13T00:00:00.000Z
Updated: 2024-08-03T02:46:39.409Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.