Skip to main content

Mastodon CVE-2026-33868

| EUVDEUVD-2026-16783 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-03-27 security-advisories@github.com
4.3
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

While the CVSS score of 4.3 is moderate, the attack vector (Network), low complexity, and lack of authentication requirements indicate broad attack surface. The UI interaction requirement (CVSS:UI:R) reflects that users must click a malicious link, reducing likelihood of mass exploitation but not eliminating it-targeted phishing campaigns remain highly viable. The impact is limited to integrity (redirection to external site), with no confidentiality or availability impact directly from the vulnerability itself, though downstream OAuth token theft represents a significant secondary risk. EPSS exploitation probability data was not provided, but the simplicity of crafting URL-encoded payloads and the high user-interaction dependency suggest moderate real-world risk. The vulnerability is not confirmed as actively exploited (KEV status not indicated), and no public proof-of-concept has been identified, further supporting lower urgency than the CVSS alone might suggest. However, the phishing and credential theft vectors warrant prioritization for any organization running public-facing Mastodon instances.

Exploit ScenarioDerived

An attacker crafts a malicious URL containing URL-encoded slashes in the /web/* path that, when clicked by a Mastodon user, redirects them to a phishing site mimicking the real Mastodon login page. The victim, believing they are on the legitimate domain, enters their credentials or grants OAuth permissions, which are then captured by the attacker. This attack requires user interaction (clicking the link) but is trivial to execute and highly effective in targeted campaigns against specific Mastodon instance communities.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 27, 2026

Mastodon prior to versions 4.5.8, 4.4.15, and 4.3.21 contains an unauthenticated Open Redirect vulnerability in the /web/* route that allows remote attackers to redirect users to arbitrary external domains via specially URL-encoded path segments. An attacker can exploit this to conduct phishing attacks or steal OAuth credentials by crafting malicious links that bypass Rails path normalization through URL-encoded slashes (%2F). No public exploit code or active exploitation has been confirmed at time of analysis.

RemediationAI

Upgrade Mastodon immediately to version 4.5.8, 4.4.15, or 4.3.21 depending on your current release line. These patched versions implement proper URL normalization and input validation for redirect targets in the /web/* route. Administrators should prioritize upgrades for publicly accessible Mastodon instances given the phishing attack surface. For details on the fix and upgrade procedures, consult the official GitHub security advisory at https://github.com/mastodon/mastodon/security/advisories/GHSA-xqw8-4j56-5hj6. No workaround is documented; patching is the definitive remediation.

Affected VersionsENISA

mastodon 4.5.0, < 4.5.8
mastodon < 4.3.21
mastodon 4.4.0, < 4.4.15

Affected Packages

euvd mastodon fix: 4.3.21, 4.4.15, 4.5.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in Mastodon's web route handler where user-supplied URL-encoded path segments are not properly normalized before being used in redirect operations. Specifically, URL-encoded forward slashes (%2F) bypass Rails' standard path normalization logic, allowing an attacker to inject host-relative redirects that are interpreted as external URLs. This is a classic Open Redirect flaw (CWE-601) stemming from insufficient input validation on redirect targets. The issue affects Mastodon's ActivityPub-based social network implementation across multiple stable release lines (4.3.x, 4.4.x, and 4.5.x), with the vulnerable code path exposed through unauthenticated web routes, meaning any user without credentials can trigger the malicious redirect.

Know when Mastodon gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
4.5.8,4.3.21,4.4.15
CVE Published
Mar 27, 2026 - 20:16 nvd
MEDIUM 4.3

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

Organizations using Mastodon should be aware of moderate risk from CVE-2026-33868 rated CVSS 4.3. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.2%
Top 52% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2022-46405 HIGH POC
7.5 Dec 04

Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull queue) by creating bot accounts

CVE-2024-25618 HIGH POC
7.4 Feb 14

Mastodon is a free, open-source social network server based on ActivityPub. Rated high severity (CVSS 7.4), this vulnera

CVE-2023-28853 MEDIUM POC
6.5 Apr 04

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut

CVE-2023-36460 CRITICAL
9.9 Jul 06

Mastodon is a free, open-source social network server based on ActivityPub. Rated critical severity (CVSS 9.9), this vul

CVE-2024-23832 CRITICAL
9.8 Feb 01

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut

CVE-2022-2166 CRITICAL
9.8 Nov 16

Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0. Rated c

CVE-2026-46348 HIGH
8.7 Jun 24

Server-Side Request Forgery in Mastodon before 4.5.10, 4.4.17, and 4.3.23 lets attackers coerce the server into issuing

CVE-2026-47389 HIGH
8.6 Jun 24

Server-side request forgery in Mastodon (versions before 4.5.10, 4.4.17, and 4.3.23) lets an attacker who controls autho

CVE-2026-27468 HIGH
8.2 Feb 24

Unauthenticated attackers can bypass FASP administrator approval in Mastodon 4.4.0-4.4.13 and 4.5.0-4.5.6 to subscribe t

CVE-2026-41259 HIGH
8.2 Apr 23

Sign-up restriction bypass in Mastodon (self-hosted ActivityPub social server) before v4.5.9, v4.4.16, and v4.3.22 allow

CVE-2024-37903 HIGH
8.2 Jul 05

Mastodon is a self-hosted, federated microblogging platform. Rated high severity (CVSS 8.2), this vulnerability is remot

CVE-2024-25623 HIGH
7.7 Feb 19

Mastodon is a free, open-source social network server based on ActivityPub. Rated high severity (CVSS 7.7), this vulnera

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy