Advisory

UBUNTU-CVE-2026-40354

Also known as: CVE-2026-40354

Summary

The record has no summary.

Details

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.

Severity

Low Basis: CVSS v3 score 2.9, vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2026-04-11 01:16 UTC
Modified
2026-05-27 16:45 UTC

Affected packages and fixes

xdg-desktop-portal

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

xdg-desktop-portal

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

xdg-desktop-portal

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

xdg-desktop-portal

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

xdg-desktop-portal

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.18.4-1ubuntu2.24.04.2 (ecosystem)

Fixed versions

1.18.4-1ubuntu2.24.04.2

Fix

  • Fixed version 1.18.4-1ubuntu2.24.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

xdg-desktop-portal

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1.20.3+ds-1ubuntu1.1 (ecosystem)

Fixed versions

1.20.3+ds-1ubuntu1.1

Fix

  • Fixed version 1.20.3+ds-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences