Home / flatpak / flatpak / CVE-2021-43860
CVE-2021-43860: is it exploited, and which versions of flatpak are affected and fixed?
CVE-2021-43860 is a privilege escalation (improper privilege management) vulnerability in flatpak. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: flatpak >= 1.11.0, < 1.12.3 and flatpak < 1.10.6 (CVE record by GitHub_M). Fixed in 1.10.6 (NVD). Severity: High (8.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-43860?
Permissions granted to applications can be hidden from the user at install time
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.
From the CVE record by GitHub_M, last updated August 4, 2024, 04:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| flatpak | flatpak | >= 1.11.0, < 1.12.3 < 1.10.6 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| flatpak | flatpak | before 1.10.6 | application |
| flatpak | flatpak | from 1.11.1 through 1.12.3 | application |
| fedoraproject | fedora | 35 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:11 UTC.
How severe is CVE-2021-43860?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-43860 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.44% probability of exploitation activity in the next 30 days, percentile 74.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j
- https://github.com/flatpak/flatpak/commit/54ec1a482dfc668127eaae57f135e6a8e0bc52da
- https://github.com/flatpak/flatpak/commit/65cbfac982cb1c83993a9e19aa424daee8e9f042
- https://github.com/flatpak/flatpak/commit/93357d357119093804df05acc32ff335839c6451
- https://github.com/flatpak/flatpak/commit/ba818f504c926baaf6e362be8159cfacf994310e
- https://github.com/flatpak/flatpak/commit/d9a8f9d8ccc0b7c1135d0ecde006a75d25f66aee
- https://github.com/flatpak/flatpak/releases/tag/1.10.6
- https://github.com/flatpak/flatpak/releases/tag/1.12.3
- FEDORA-2022-825ca6bf2b vendor-advisory
- DSA-5049 vendor-advisory
- GLSA-202312-12 vendor-advisory
When was it published, and where is the official record?
- Reserved
- November 16, 2021
- Published
- January 12, 2022, 00:00 UTC
- CVE record updated
- August 4, 2024, 04:10 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:11 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect flatpak?
- Oct 20, 2026CVE-2026-92162 flatpak: path traversal (reading or writing files outside the intended folder)
- Sep 23, 2026CVE-2026-96808 Flatpak: UNIX Symbolic Link (Symlink) Following
- Sep 23, 2026CVE-2026-96807 Flatpak: UNIX Symbolic Link (Symlink) Following
- Sep 12, 2026CVE-2026-90616 Flatpak: UNIX Symbolic Link (Symlink) Following
- Apr 7, 2026CVE-2026-34079 flatpak: path traversal (reading or writing files outside the intended folder)
- Apr 7, 2026CVE-2026-34078 flatpak: UNIX Symbolic Link (Symlink) Following
- Aug 15, 2024CVE-2024-42472 flatpak: injection
- Apr 18, 2024CVE-2024-32462 flatpak: argument injection
Questions about CVE-2021-43860
Is CVE-2021-43860 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.44% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of flatpak are affected by CVE-2021-43860?
flatpak >= 1.11.0, < 1.12.3 and flatpak < 1.10.6, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2021-43860?
1.10.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-43860?
High (8.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-43860?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.