CVE-2026-33868: Mastodon has a GET-Based Open Redirect via '/web/%2F<domain>'

Published Mar 27, 2026
·
Updated

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.

Affected Software

4 affected components
Mastodon Mastodon<4.5.8, <4.4.15, <4.3.21
Joinmastodon Mastodon<4.3.21
Joinmastodon Mastodon>=4.4.0<4.4.15
Joinmastodon Mastodon>=4.5.0<4.5.8

Event History

Mar 27, 2026
CVE Published
via MITRE·07:50 PM
Data Sourced
via MITRE·07:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33868?

CVE-2026-33868 is classified as a medium-severity vulnerability due to its potential for exploitation via open redirects.

2

How do I fix CVE-2026-33868?

To fix CVE-2026-33868, you should upgrade to Mastodon versions 4.5.8, 4.4.15, or 4.3.21 or later.

3

What types of systems are affected by CVE-2026-33868?

CVE-2026-33868 affects Mastodon versions prior to 4.5.8, 4.4.15, and 4.3.21.

4

What is an Open Redirect vulnerability in the context of CVE-2026-33868?

An Open Redirect vulnerability allows attackers to redirect users to malicious external sites by manipulating URL parameters.

5

Is authentication required to exploit CVE-2026-33868?

No, CVE-2026-33868 is exploitable without authentication, making it particularly concerning for users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203