CVE catalog

CVE-2022-21682

flatpak affected and fixed versions

[CVE catalog]

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`.

Severity
High · CVSS 7.7CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.68% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixie-securityflatpak1.16.6-1~deb13u3Fixed[CVE-2022-21682]
Debiantrixieflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debiantrixieflatpak1.16.6-1~deb13u2Fixed[CVE-2022-21682]
Debiansidflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debiansidflatpak1.18.4-1Fixed[CVE-2022-21682]
Debianforkyflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debianforkyflatpak1.18.4-1Fixed[CVE-2022-21682]
Debianbookworm-securityflatpak1.14.10-1~deb12u2Fixed[CVE-2022-21682]
Debianbookwormflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debianbookwormflatpak1.14.10-1~deb12u2Fixed[CVE-2022-21682]

Showing 10 fix observations. All 23 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedflatpak1.12.3-1UnknownSource applicability is not establishedProvider not reported
Debianbookwormflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debianbookwormflatpak1.14.10-1~deb12u2Fixed[CVE-2022-21682]
Debianbookworm-securityflatpak1.14.10-1~deb12u2Fixed[CVE-2022-21682]
Debianforkyflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debianforkyflatpak1.18.4-1Fixed[CVE-2022-21682]
Debiansidflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debiansidflatpak1.18.4-1Fixed[CVE-2022-21682]
Debiantrixieflatpak1.12.3-1FixedDistribution-reported fixed boundary[CVE-2022-21682]
Debiantrixieflatpak1.16.6-1~deb13u2Fixed[CVE-2022-21682]
Debiantrixie-securityflatpak1.16.6-1~deb13u3Fixed[CVE-2022-21682]
Opensusetumbleweedflatpak1.12.4-1.1UnknownSource applicability is not established[OPENSUSE-SU-2024:11756-1]
Opensusetumbleweedflatpak-builder1.2.2-1.1UnknownSource applicability is not established[OPENSUSE-SU-2024:11755-1]
Ubuntuproflatpak1.10.2-3UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.2-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.2-2UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.3-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.4-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.5-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.6-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.7-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.7-1ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Ubuntuproflatpak1.12.7-1ubuntu0.1+esm1UnknownSource applicability is not established[UBUNTU-CVE-2022-21682]
Original provider fields
{
  "package_releases": [
    {
      "name": "flatpak",
      "status": "fixed",
      "release": "sid",
      "version": "1.18.4-1"
    },
    {
      "name": "flatpak",
      "status": "fixed",
      "release": "forky",
      "version": "1.18.4-1"
    },
    {
      "name": "flatpak",
      "status": "fixed",
      "release": "trixie",
      "version": "1.16.6-1~deb13u2"
    },
    {
      "name": "flatpak",
      "status": "fixed",
      "release": "trixie-security",
      "version": "1.16.6-1~deb13u3"
    },
    {
      "name": "flatpak",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.14.10-1~deb12u2"
    },
    {
      "name": "flatpak",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "1.14.10-1~deb12u2"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "flatpak",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.12.3-1"
    },
    {
      "bug": null,
      "name": "flatpak",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.12.3-1"
    },
    {
      "bug": null,
      "name": "flatpak",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.12.3-1"
    },
    {
      "bug": null,
      "name": "flatpak",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.12.3-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "flatpak",
      "fixed_version": "1.12.3-1",
      "applicability_unknown": true
    },
    {
      "name": "flatpak",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.10.2-3",
        "1.12.2-1",
        "1.12.2-2",
        "1.12.3-1",
        "1.12.4-1",
        "1.12.5-1",
        "1.12.6-1",
        "1.12.7-1",
        "1.12.7-1ubuntu0.1",
        "1.12.7-1ubuntu0.1+esm1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-21682",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-21682",
      "provider_updated_at": "2026-09-10T16:30:19.765779378Z",
      "applicability_unknown": true
    },
    {
      "name": "flatpak",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.12.4-1.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:11756-1",
      "fixed_version": "1.12.4-1.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2024:11756-1",
      "provider_updated_at": "2026-02-04T02:41:20.792219Z",
      "applicability_unknown": true
    },
    {
      "name": "flatpak-builder",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.2-1.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:11755-1",
      "fixed_version": "1.2.2-1.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2024:11755-1",
      "provider_updated_at": "2026-02-04T02:28:18.603529Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [flatpak]Unknown
    Details (6)
    • 1.14.10-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

  • [flatpak-tests]Unknown

    Source package: [flatpak]

    Details (6)
    • 1.14.10-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

  • Source package: [flatpak]

    Details (6)
    • 1.14.10-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

  • [libflatpak0]Unknown

    Source package: [flatpak]

    Details (6)
    • 1.14.10-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

  • Source package: [flatpak]

    Details (6)
    • 1.14.10-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

  • Source package: [flatpak]

    Details (6)
    • 1.14.10-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.16.6-1~deb13u1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

    • 1.14.10-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.12.3-1

      dsa · flatpak · debian · bookworm

[openSUSE Tumbleweed]

  • [flatpak]Unknown

    Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.12.4-1.1

      dsa · flatpak · opensuse · tumbleweed

  • Source package: [flatpak-builder]

    Details (1)
    • 1.4.10-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.2.2-1.1

      dsa · flatpak-builder · opensuse · tumbleweed

  • [flatpak-devel]Unknown

    Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.12.4-1.1

      Version impact unknown

      dsa · flatpak · opensuse · tumbleweed

  • Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.12.4-1.1

      Version impact unknown

      dsa · flatpak · opensuse · tumbleweed

  • Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.12.4-1.1

      Version impact unknown

      dsa · flatpak · opensuse · tumbleweed

  • Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.12.4-1.1

      Version impact unknown

      dsa · flatpak · opensuse · tumbleweed

  • [libflatpak0]Unknown

    Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.12.4-1.1

      Version impact unknown

      dsa · flatpak · opensuse · tumbleweed

  • Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.12.4-1.1

      Version impact unknown

      dsa · flatpak · opensuse · tumbleweed

  • Source package: [flatpak]

    Details (1)
    • 1.18.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.12.4-1.1

      Version impact unknown

      dsa · flatpak · opensuse · tumbleweed

Observed:

References