Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-40354

Type: advisorySource: OSV1 source record

Flatpak xdg-desktop-portal before 1.20.4 and 1.21.x before 1.21.1 allows any Flatpak app to trash any file in the host context via a symlink attack on g_file_trash.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-40354

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-40354

xdg-desktop-portal

Source reference: /affected/0/package/name

Affected versions
1.16.0-2

Source reference: /affected/0/versions

1.16.0-3

Source reference: /affected/0/versions

1.17.0-1

Source reference: /affected/0/versions

1.17.1-1

Source reference: /affected/0/versions

1.17.2-1

Source reference: /affected/0/versions

1.18.0-1

Source reference: /affected/0/versions

1.18.1-1

Source reference: /affected/0/versions

1.18.2-1

Source reference: /affected/0/versions

1.18.3-1

Source reference: /affected/0/versions

1.18.4-1

Source reference: /affected/0/versions

1.18.4-2

Source reference: /affected/0/versions

1.19.0+ds-1

Source reference: /affected/0/versions

1.19.1+ds-1

Source reference: /affected/0/versions

1.19.2+ds-1

Source reference: /affected/0/versions

1.19.3+ds-1

Source reference: /affected/0/versions

1.19.4+ds-1

Source reference: /affected/0/versions

1.20.0+ds-1

Source reference: /affected/0/versions

1.20.0+ds-2

Source reference: /affected/0/versions

1.20.1+ds-1

Source reference: /affected/0/versions

1.20.1+ds-2

Source reference: /affected/0/versions

1.20.3+ds-1

Source reference: /affected/0/versions

1.20.3+ds-2

Source reference: /affected/0/versions

1.20.3+ds-3

Source reference: /affected/0/versions

1.20.4+ds-1

Source reference: /affected/0/versions

1.21.0+ds-1

Source reference: /affected/0/versions

1.21.1+ds-1

Source reference: /affected/0/versions

1.22.0+ds-1

Source reference: /affected/0/versions

1.22.1+ds-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

xdg-desktop-portal

Source reference: /affected/1/package/name

Affected versions
1.20.3+ds-1

Source reference: /affected/1/versions

1.20.3+ds-2

Source reference: /affected/1/versions

1.20.3+ds-3

Source reference: /affected/1/versions

1.20.4+ds-1

Source reference: /affected/1/versions

1.21.0+ds-1

Source reference: /affected/1/versions

1.21.1+ds-1

Source reference: /affected/1/versions

1.22.0+ds-1

Source reference: /affected/1/versions

1.22.1+ds-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

xdg-desktop-portal

Source reference: /affected/2/package/name

Affected versions
1.20.3+ds-1

Source reference: /affected/2/versions

1.20.3+ds-2

Source reference: /affected/2/versions

1.20.3+ds-3

Source reference: /affected/2/versions

Fixed versions
1.20.4+ds-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "xdg-desktop-portal",
      "purl": "pkg:deb/debian/xdg-desktop-portal?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.16.0-2",
      "1.16.0-3",
      "1.17.0-1",
      "1.17.1-1",
      "1.17.2-1",
      "1.18.0-1",
      "1.18.1-1",
      "1.18.2-1",
      "1.18.3-1",
      "1.18.4-1",
      "1.18.4-2",
      "1.19.0+ds-1",
      "1.19.1+ds-1",
      "1.19.2+ds-1",
      "1.19.3+ds-1",
      "1.19.4+ds-1",
      "1.20.0+ds-1",
      "1.20.0+ds-2",
      "1.20.1+ds-1",
      "1.20.1+ds-2",
      "1.20.3+ds-1",
      "1.20.3+ds-2",
      "1.20.3+ds-3",
      "1.20.4+ds-1",
      "1.21.0+ds-1",
      "1.21.1+ds-1",
      "1.22.0+ds-1",
      "1.22.1+ds-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40354.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "xdg-desktop-portal",
      "purl": "pkg:deb/debian/xdg-desktop-portal?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.20.3+ds-1",
      "1.20.3+ds-2",
      "1.20.3+ds-3",
      "1.20.4+ds-1",
      "1.21.0+ds-1",
      "1.21.1+ds-1",
      "1.22.0+ds-1",
      "1.22.1+ds-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40354.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.20.4+ds-1"
          }
        ]
      }
    ],
    "package": {
      "name": "xdg-desktop-portal",
      "purl": "pkg:deb/debian/xdg-desktop-portal?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.20.3+ds-1",
      "1.20.3+ds-2",
      "1.20.3+ds-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40354.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56023 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement