CVE-2026-33868
JSON

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 packageVersionsReported by
mastodon mastodon>= 4.5.0, < 4.5.8, >= 4.4.0, < 4.4.15, < 4.3.21CVE List
joinmastodon mastodonbefore 4.3.21, from 4.4.0 before 4.4.15, from 4.5.0 before 4.5.8NVD
mastodon (Bitnami)before 4.3.21, from 4.4.0 before 4.4.15, from 4.5.0 before 4.5.8Bitnami Vulnerability Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-601

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-33868 changed 2026-03-31CVE Terms of Use
NVDCVE-2026-33868 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MASTODON-2026-33868 changed 2026-09-08Apache-2.0