CVE-2026-33868
4.3medium
Mastodon has a GET-Based Open Redirect via '/web/%2F<domain>'
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-MASTODON-2026-33868GHSA-xqw8-4j56-5hj6
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mastodon mastodon | >= 4.5.0, < 4.5.8, >= 4.4.0, < 4.4.15, < 4.3.21 | CVE List |
| joinmastodon mastodon | before 4.3.21, from 4.4.0 before 4.4.15, from 4.5.0 before 4.5.8 | NVD |
| mastodon (Bitnami) | before 4.3.21, from 4.4.0 before 4.4.15, from 4.5.0 before 4.5.8 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33868 changed 2026-03-31 | CVE Terms of Use |
| NVD | CVE-2026-33868 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MASTODON-2026-33868 changed 2026-09-08 | Apache-2.0 |