Skip to main content
CVE-2024-42029VulnerabilityPublished Updated

CVE-2024-42029: xdg-desktop-portal-hyprland · n/a

Affects xdg-desktop-portal-hyprlandSource CVE Database V5

0

Not known to be exploited · CVSS 6.3 Medium : upgrade to 1.3.3 when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.3.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade hyprwm/xdg-desktop-portal-hyprland to 1.3.3.

Affected software

ProductAffectedFixed in
GitHubhyprwm/xdg-desktop-portal-hyprlandpkg:github/hyprwm/xdg-desktop-portal-hyprlandOther threatsAffected
  • <1.3.3
Fixed in
  • 1.3.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade xdg-desktop-portal-hyprland to version 1.3.3 or later, where the vulnerability is fixed by proper quoting of environment variables to prevent command injection. Until patching is possible, organizations should restrict local access to trusted users only and monitor for suspicious activity related to the portal backend. Employing application sandboxing or mandatory access controls (e.g., SELinux, AppArmor) can limit the impact of potential exploitation. Additionally, auditing environment variable handling in custom or third-party integrations with xdg-desktop-portal-hyprland can help identify and remediate similar injection risks. Regularly updating Linux desktop components and maintaining least privilege principles for user accounts will reduce exposure.

Description

xdg-desktop-portal-hyprland (aka an XDG Desktop Portal backend for Hyprland) before 1.3.3 allows OS command execution, e.g., because single quotes are not used when sending a list of app IDs and titles via the environment.

References

Community reviews

Loading reviews…