Advisory

USN-8287-1

Also known as: CVE-2026-40354

Summary

xdg-desktop-portal vulnerability

Details

It was discovered that XDG Desktop Portal incorrectly handled
trashing files. A local attacker could possibly use this issue to
delete arbitrary files on the host file system via a symlink attack.

Severity

Not rated by the source.

Dates

Published
2026-05-20 18:02 UTC
Modified
2026-05-27 16:59 UTC

Affected packages and fixes

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