UNIX symbolic link following in Discourse - #VU165857
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote privileged user to read and write files outside the restore directory as the user running Discourse, potentially executing code on the server.
The vulnerability exists due to symbolic link following in the Discourse backup restore functionality when restoring uploaded archives with allow_restore enabled. A remote privileged user can restore a crafted backup containing symbolic links to access files outside the restore directory.