Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify instance with e-mail-domain sign-up restriction
-
DeliveryCraft address with MTA-ambiguous characters
-
ExploitSubmit registration passing Mastodon domain check
-
ExecutionConfirmation mail routed to blocked domain
-
ImpactConfirm account and bypass restriction
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Workflow enforcement
|
| Exploitation Conditions | Exploitation requires that the target Mastodon instance has e-mail-domain-based sign-up restriction enabled (allowed or disallowed domain lists) - an instance with open unrestricted registration or invite-only registration gains nothing from the bypass. The attacker must craft an e-mail address whose special/quoting characters are parsed differently by Mastodon's validator than by the instance's actual mail server, so success is gated by the specific MTA in use (reflected as AT:P in the CVSS 4.0 vector). No authentication and no user interaction are needed (PR:N/UI:N, AV:N), but the impact is limited to defeating the domain restriction control (integrity only, VI:H; no data disclosure or service disruption). |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N) scores 8.2 High, driven entirely by an integrity impact (VI:H) - the ability to defeat a security control - with no confidentiality or availability impact. AT:P (attack requirements present) reflects that success depends on the victim instance's specific MTA parsing behavior, which the attacker does not fully control, so this is not a clean push-button exploit. Contrast the signals: EPSS is 0.04% (13th percentile) and SSVC exploitation status is 'none', indicating no observed real-world attacks, yet SSVC flags it as Automatable=yes with partial technical impact, consistent with a control-bypass that could be scripted once a working character/domain combination is found. This is a moderate, control-integrity issue rather than an urgent RCE: the practical risk is concentrated on instances that actually rely on e-mail-domain restriction as a spam/abuse gate, and is negligible for open-registration or invite-only instances. The high CVSS number somewhat overstates day-to-day urgency given zero exploitation evidence and MTA-dependent preconditions. |
| Exploit ScenarioDerived | An operator runs an open-registration Mastodon instance that blocks sign-ups from a set of disposable e-mail domains to curb spam accounts. An attacker crafts an e-mail address containing quoting or special characters so that Mastodon's validator reads an allowed domain while the instance's mail server actually delivers the confirmation link to a blocked/disposable domain, letting the attacker confirm the account and bypass the restriction. No public proof-of-concept is identified; success depends on the target instance's specific mail-server parsing behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Sign-up restriction bypass in Mastodon (self-hosted ActivityPub social server) before v4.5.9, v4.4.16, and v4.3.22 allows remote attackers to register accounts on instances that restrict registration by e-mail domain. Because Mastodon validates addresses but does not restrict characters that downstream mail servers interpret differently, a crafted address can pass the allow/deny-list check while ultimately delivering mail to a domain the operator intended to block. No public exploit identified at time of analysis, and EPSS is very low (0.04%), but SSVC rates the flaw automatable with partial technical impact.
RemediationAI
Vendor-released patch: upgrade to Mastodon 4.5.9, 4.4.16, or 4.3.22 (whichever matches your release line) as published in GitHub Security Advisory GHSA-5r37-qpwq-2jhh (https://github.com/mastodon/mastodon/security/advisories/GHSA-5r37-qpwq-2jhh), which adds restriction of the mis-interpreted characters during address validation. If you cannot patch immediately, compensating controls include switching the registration mode to approval-required (manual moderator review of each sign-up), which neutralizes the bypass at the cost of operator workload, or moving to invite-only registration, which stops open sign-up entirely but changes your community growth model. Operators who depend on domain deny-lists to block disposable-mail providers should treat that control as unreliable until patched and increase post-registration abuse monitoring; tightening the upstream MTA/relay to reject the same malformed-but-accepted addresses can also reduce, though not fully close, the parser gap.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mastodon is a Ruby on Rails ActivityPub server whose instance operators commonly gate self-service registration using an e-mail domain allow-list or deny-list (the 'Allowed/Disallowed e-mail domains' feature). The root cause is CWE-841 (Improper Enforcement of Behavioral Workflow / expected conditions): Mastodon performs its own basic RFC-style validation and domain-matching, but different SMTP/MTA implementations parse address quoting, comments, or additional special characters differently than Mastodon's parser does. This parser-differential means the domain Mastodon sees during its policy check is not necessarily the domain the receiving mail server routes to, so the security decision (should this domain be allowed to sign up?) is made on a different value than the one that actually governs delivery. The single affected component per NVD/EUVD CPE is cpe:2.3:a:joinmastodon:mastodon across all pre-fix versions.
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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Remote and unauthenticated (AV:N/PR:N), but success depends on the target MTA's parsing so AC:H maps the 4.0 AT:P; impact is a control-integrity bypass only, hence I:H with C:N/A:N.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
Mastodon is a free, open-source social network server based on ActivityPub. Prior to v4.5.9, v4.4.16, and v4.3.22, Mastodon allows restricting new user sign-up based on e-mail domain names, and performs basic validation on e-mail addresses, but fails to restrict characters that are interpreted differently by some mailing servers. This vulnerability is fixed in v4.5.9, v4.4.16, and v4.3.22.
Executive ViewAI
Mastodon self-hosted instances running versions before v4.5.9, v4.4.16, and v4.3.22 can be bypassed by unauthenticated attackers who craft email addresses to circumvent registration domain restrictions. Organizations operating Mastodon lose the ability to control membership eligibility, creating exposure to spam, abusive accounts, and administrative overhead managing unwanted users.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull queue) by creating bot accounts
Mastodon is a free, open-source social network server based on ActivityPub. Rated high severity (CVSS 7.4), this vulnera
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Mastodon is a free, open-source social network server based on ActivityPub. Rated critical severity (CVSS 9.9), this vul
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0. Rated c
Server-Side Request Forgery in Mastodon before 4.5.10, 4.4.17, and 4.3.23 lets attackers coerce the server into issuing
Server-side request forgery in Mastodon (versions before 4.5.10, 4.4.17, and 4.3.23) lets an attacker who controls autho
Mastodon prior to versions 4.5.8, 4.4.15, and 4.3.21 contains an unauthenticated Open Redirect vulnerability in the `/we
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
Mastodon is a self-hosted, federated microblogging platform. Rated high severity (CVSS 8.2), this vulnerability is remot
Mastodon is a free, open-source social network server based on ActivityPub. Rated high severity (CVSS 7.7), this vulnera
EUVD-2026-25282
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB