Open Redirect Vulnerability in Mastodon Social Network Server
CVE-2026-33868
4.3MEDIUM
What is CVE-2026-33868?
An open redirect vulnerability is present in the Mastodon social network server due to improper handling of URL-encoded path segments in the /web/* route. Attackers can exploit this weakness by crafting maliciously encoded URLs, which may redirect users to arbitrary external domains, facilitating phishing attacks and potential theft of OAuth credentials. This vulnerability arises because URL-encoded slashes bypass the normalization process in Rails, allowing host-relative redirects. Users of Mastodon should update to the patched versions 4.5.8, 4.4.15, or 4.3.21 to mitigate the risk.
Affected Version(s)
mastodon >= 4.5.0, < 4.5.8 < 4.5.0, 4.5.8
mastodon >= 4.4.0, < 4.4.15 < 4.4.0, 4.4.15
mastodon < 4.3.21 < 4.3.21
