Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21381

published high CVSS 3.1 · 7.1

Sandbox escape via special tokens in .desktop file

Published
11 Mar 2021, 00:00:00 UTC
Updated
03 Aug 2024, 18:09:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
flatpak — flatpak>= 0.9.4, < 1.10.2 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2021-1625 Fixed Not stated Amazon Linux assessment
Debian buster flatpak Advisory build 1.2.5-0+deb10u4 DSA-4868-1
Oracle Linux 7 flatpakaarch64 Advisory build 0:1.0.9-11.el7_9 ELSA-2021-1002
Red Hat Enterprise Linux RHEL-7 flatpakppc64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
SUSE / openSUSE SLE-15-SP1 flatpakaarch64 Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
Ubuntu bionic flatpak Advisory build 1.0.9-0ubuntu0.3 USN-4951-1
Oracle Linux 7 flatpakx86_64 Advisory build 0:1.0.9-11.el7_9 ELSA-2021-1002
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 flatpakaarch64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Oracle Linux 8 flatpakx86_64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Red Hat Enterprise Linux RHEL-7 flatpakppc64le Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpaks390x Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpaksrc Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpakx86_64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-8 flatpakaarch64 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpakaarch64 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpakaarch64 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpakppc64le Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpakppc64le Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpakppc64le Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpaks390x Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpaks390x Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpaks390x Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpaksrc Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpaksrc Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpaksrc Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpakx86_64 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpakx86_64 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpakx86_64 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
SUSE / openSUSE SLE-15-SP1 flatpakppc64le Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
SUSE / openSUSE SLE-15-SP1 flatpaks390x Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
SUSE / openSUSE SLE-15-SP1 flatpakx86_64 Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
Ubuntu focal flatpak Advisory build 1.6.5-0ubuntu0.3 USN-4951-1
Oracle Linux 7 flatpak-builderaarch64 Advisory build 0:1.0.0-11.el7_9 ELSA-2021-1002
Oracle Linux 7 flatpak-builderx86_64 Advisory build 0:1.0.0-11.el7_9 ELSA-2021-1002
Oracle Linux 7 flatpak-develaarch64 Advisory build 0:1.0.9-11.el7_9 ELSA-2021-1002
Oracle Linux 7 flatpak-develx86_64 Advisory build 0:1.0.9-11.el7_9 ELSA-2021-1002
Oracle Linux 7 flatpak-libsaarch64 Advisory build 0:1.0.9-11.el7_9 ELSA-2021-1002
Oracle Linux 7 flatpak-libsx86_64 Advisory build 0:1.0.9-11.el7_9 ELSA-2021-1002
Oracle Linux 8 flatpak-libsaarch64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Oracle Linux 8 flatpak-libsx86_64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Oracle Linux 8 flatpak-selinuxaarch64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Oracle Linux 8 flatpak-selinuxx86_64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Oracle Linux 8 flatpak-session-helperaarch64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Oracle Linux 8 flatpak-session-helperx86_64 Advisory build 0:1.6.2-6.el8_3 ELSA-2021-1068
Red Hat Enterprise Linux RHEL-7 flatpak-builderppc64 Advisory build 1.0.0-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-builderppc64le Advisory build 1.0.0-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-builders390x Advisory build 1.0.0-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-builderx86_64 Advisory build 1.0.0-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfoppc64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfoppc64le Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfos390x Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfox86_64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-develppc64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-develppc64le Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-devels390x Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-develx86_64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-libsppc64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-libsppc64le Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-libss390x Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-7 flatpak-libsx86_64 Advisory build 1.0.9-11.el7_9 RHSA-2021:1002
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoaarch64 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoaarch64 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoaarch64 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoi686 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoi686 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoi686 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoppc64le Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoppc64le Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoppc64le Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfos390x Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfos390x Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfos390x Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfox86_64 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfox86_64 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfox86_64 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourceaarch64 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourceaarch64 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourceaarch64 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourcei686 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourcei686 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourcei686 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourceppc64le Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourceppc64le Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourceppc64le Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debugsources390x Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debugsources390x Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debugsources390x Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourcex86_64 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourcex86_64 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-debugsourcex86_64 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-libsaarch64 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-libsaarch64 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-libsaarch64 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-libsi686 Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-libsi686 Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-libsi686 Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-libsppc64le Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-libsppc64le Advisory build 1.6.2-5.el8_2 RHSA-2021:1073
Red Hat Enterprise Linux RHEL-8 flatpak-libsppc64le Advisory build 1.6.2-6.el8_3 RHSA-2021:1068
Red Hat Enterprise Linux RHEL-8 flatpak-libss390x Advisory build 1.0.9-4.el8_1 RHSA-2021:1074
Red Hat Enterprise Linux RHEL-8 flatpak-libss390x Advisory build 1.6.2-5.el8_2 RHSA-2021:1073

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In Flatpack since version 0.9.4 and before version 1.10.2 has a vulnerability in the "file forwarding" feature which can be used by an attacker to gain access to files that would not ordinarily be allowed by the app's permissions. By putting the special tokens `@@` and/or `@@u` in the Exec field of a Flatpak app's .desktop file, a malicious app publisher can trick flatpak into behaving as though the user had chosen to open a target file with their Flatpak app, which automatically makes that file available to the Flatpak app. This is fixed in version 1.10.2. A minimal solution is the first commit "`Disallow @@ and @@U usage in desktop files`". The follow-up commits "`dir: Reserve the whole @@ prefix`" and "`dir: Refuse to export .desktop files with suspicious uses of @@ tokens`" are recommended, but not strictly required. As a workaround, avoid installing Flatpak apps from untrusted sources, or check the contents of the exported `.desktop` files in `exports/share/applications/*.desktop` (typically `~/.local/share/flatpak/exports/share/applications/*.desktop` and `/var/lib/flatpak/exports/share/applications/*.desktop`) to make sure that literal filenames do not follow `@@` or `@@u`.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
flatpak flatpak >= 0.9.4, < 1.10.2 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (GitHub_M · cna)

References

10

Provider assertions

2

GitHub_M · cna

Sandbox escape via special tokens in .desktop file

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
f78b9a601cb37716d90fab99569681e32a15199d21f58443ac04e073e5623da3
Ingested
23 Sep 2026, 07:52:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected