Server-Side Request Forgery (SSRF) in Discourse - #VU166165
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote privileged user to read arbitrary URLs from the server and potentially disclose sensitive information.
The vulnerability exists due to server-side request forgery in Discourse's animated GIF detection job when processing upload records restored from a crafted backup on sites with allow_restore enabled. A remote privileged user can supply a backup containing crafted upload records to bypass the usual SSRF protections and access resources outside the upload store.