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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-03-27T19:50:07.687Z
- Modified: 2026-09-08T08:48:12.910Z
- Also known as: BIT-MASTODON-2026-33868, GHSA-xqw8-4j56-5hj6
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mastodon mastodon: >= 4.5.0, < 4.5.8; >= 4.4.0, < 4.4.15; < 4.3.21
- joinmastodon mastodon: before 4.3.21; from 4.4.0 before 4.4.15; from 4.5.0 before 4.5.8
- mastodon (Bitnami): before 4.3.21; from 4.4.0 before 4.4.15; from 4.5.0 before 4.5.8

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/mastodon/mastodon/security/advisories/GHSA-xqw8-4j56-5hj6> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33868> (web)

## Sources

- CVE List: [CVE-2026-33868](https://www.cve.org/CVERecord?id=CVE-2026-33868), CVE Terms of Use, modified 2026-03-31
- NVD: [CVE-2026-33868](https://nvd.nist.gov/vuln/detail/CVE-2026-33868), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MASTODON-2026-33868](https://osv.dev/vulnerability/BIT-MASTODON-2026-33868), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-33868 · Whole record: https://cve.day/CVE-2026-33868.json · Rebuilt by cve.day 2026-11-25T22:59:17.426Z
