Skip to main content

Mastodon CVE-2026-41259

| EUVDEUVD-2026-25282 HIGH
Improper Enforcement of Behavioral Workflow (CWE-841)
2026-04-23 security-advisories@github.com
8.2
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.2 HIGH
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
vuln.today AI
5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

5
Analysis Generated
Jul 24, 2026 - 04:29 vuln.today
Patch released
Apr 28, 2026 - 18:50 nvd
Patch available
Patch available
Apr 23, 2026 - 21:01 EUVD
EUVD ID Assigned
Apr 23, 2026 - 19:27 euvd
EUVD-2026-25282
CVE Published
Apr 23, 2026 - 19:17 nvd
HIGH 8.2

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

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

CVE-2026-50129 HIGH
7.5 Jun 24

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

Share

CVE-2026-41259 vulnerability details – vuln.today

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