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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
5DescriptionGitHub 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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
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
Denial of service in Mastodon affects all self-hosted instances prior to 4.5.11, 4.4.18, and 4.3.24, where the math cont
Same technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25282