🔒 Security & Privacy

XDG-Desktop-Portal 1.20.4 Plugs Symlink Hole That Let Sandboxed Apps Trash Host Files

A sneaky symlink race in XDG-Desktop-Portal let sandboxed apps trash files outside their jail. The 1.20.4 release slams that door with file descriptors — a quiet but essential win for Flatpak users.

GitHub release page for XDG-Desktop-Portal 1.20.4 announcing symlink trash fix

⚡ Key Takeaways

  • XDG-Desktop-Portal 1.20.4 switches to file descriptors to block symlink races in trash operations. 𝕏
  • The vuln let sandboxed apps delete arbitrary host files via path-trusting GLib calls. 𝕏
  • Signals a broader push to fd-based primitives in Linux desktop sandboxing. 𝕏
Published by

theAIcatchup

Community-driven. Code-first.

Worth sharing?

Get the best Open Source stories of the week in your inbox — no noise, no spam.

Originally reported by Phoronix

Stay in the loop

The week's most important stories from theAIcatchup, delivered once a week.