CVE-2026-40354

Source
https://cve.org/CVERecord?id=CVE-2026-40354
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40354.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40354
Aliases
  • GHSA-rqr9-jwwf-wxgj
Downstream
Related
Published
2026-04-11T00:29:03.467Z
Modified
2026-07-08T08:13:31.203022314Z
Severity
  • 2.9 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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 gfiletrash.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40354.json",
    "cna_assigner": "mitre",
    "cwe_ids": [
        "CWE-61"
    ]
}
References

Affected packages

Git / github.com/flatpak/xdg-desktop-portal

Affected ranges

Type
GIT
Repo
https://github.com/flatpak/xdg-desktop-portal
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
{
    "cpe": [
        "cpe:2.3:a:flatpak:xdg-desktop-portal:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:flatpak:xdg-desktop-portal:1.21.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.20.4"
        },
        {
            "introduced": "1.21.0"
        },
        {
            "last_affected": "1.21.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.1
0.10
0.11
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.99
1.*
1.0
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
1.10.0
1.12.0
1.12.1
1.14.0
1.14.1
1.15.0
1.16.0
1.17.0
1.17.1
1.17.2
1.18.0
1.18.1
1.19.0
1.19.1
1.19.2
1.19.3
1.19.4
1.2.0
1.20.0
1.20.1
1.20.2
1.20.3
1.21.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.6.0
1.7.0
1.7.1
1.7.2
1.8.0
1.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40354.json"