Medium severity · published Mar 27, 2026
CVE-2026-33868
Mastodon has a GET-Based Open Redirect via '/web/%2F<domain>'
6.1
CVSS
0.5%
EPSS
No
On KEV
Description
Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.5.8, 4.4.15, and 4.3.21, an unauthenticated Open Redirect vulnerability (CWE-601) exists in the `/web/*` route due to improper handling of URL-encoded path segments. An attacker can craft a specially encoded URL that causes the application to redirect users to an arbitrary external domain, enabling phishing attacks and potential OAuth credential theft. The issue occurs because URL-encoded slashes (`%2F`) bypass Rails path normalization and are interpreted as host-relative redirects. Versions 4.5.8, 4.4.15, and 4.3.21 patch the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
mastodon · mastodon
>= 4.5.0, < 4.5.8; >= 4.4.0, < 4.4.15; < 4.3.21 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-33868
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-33868
Vendor Advisory
https://github.com/mastodon/mastodon/security/advisories/GHSA-xqw8-4j56-5hj6
More from mastodon
8.7
CVE-2026-46348
Mastodon: SSRF Bypass via IPv6 Unspecified Address (::)
8.6
CVE-2026-47389
Mastodon: SSRF protection bypass on older Ruby versions
8.2
CVE-2026-27468
Mastodon may allow unconfirmed FASP to make subscriptions
7.5
CVE-2026-72915
Mastodon: Personally-identifying information disclosure due to incorrect access control validation
7.5
CVE-2026-72914
Mastodon: Exhausting data by an unauthenticated request to the admin retention API
