Skip to main content

Mastodon CVE-2025-62175

MEDIUM
Improper Check for Dropped Privileges (CWE-273)
2025-10-13 security-advisories@github.com
4.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with valid OAuth token
  2. Exploit
    Account suspended/disabled by moderator
  3. Execution
    Maintain or open streaming connection
  4. Impact
    Continue receiving real-time updates post-moderation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Privilege drop verification
Exploitation Conditions

The exploiting party must already possess a valid, non-revoked OAuth access token for an account on the Mastodon instance (PR:L) - exploitation is only available to the suspended or disabled user themselves, not to arbitrary remote parties. The condition is the absence of a streaming-side suspension/disabled check: before 4.4.6/4.3.14/4.2.27 the streaming server's token lookup only filtered on users.disabled IS FALSE and token revocation, never re-checking accounts.suspended_at, and suspension never terminated live connections. Limiting factors: the attacker is confined to read-only real-time streaming data (C:L only) and cannot reach other authenticated API endpoints; impact is bounded to continued visibility of timeline/notification streams rather than any write or account-takeover capability; no unauthenticated or UI-based vector exists.

Impact

This is a genuine but low-severity moderation-bypass/information-exposure issue, not a high-priority emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N = 4.3 Medium) is internally consistent with the description: exploitation requires an account that was already provisioned and authenticated (PR:L), the account holder simply retains or re-establishes a streaming connection after being suspended/disabled, and the only impact is continued low-level confidentiality exposure (C:L) of real-time timeline updates - no integrity or availability impact. All corroborating signals point to low real-world risk: EPSS is 0.23% (13th percentile), there is no CISA KEV listing, and no public exploit code is referenced. The signals are consistent rather than conflicting - low EPSS, no KEV, and a modest CVSS all agree this is a correctness/moderation-integrity defect rather than a mass-exploitation threat. The practical significance is operational (moderation actions do not fully take effect) rather than a path to compromise, so it warrants routine patching, not emergency response.

Exploit ScenarioDerived

An administrator suspends or disables a user account for abuse, expecting the account to be fully cut off. Because the streaming server never checks the account's suspended/disabled state after the initial token issuance, the offending user keeps an existing WebSocket/streaming connection open (or opens a new one) and continues receiving real-time timeline, notification, and message updates despite the moderation action. No public exploit code is referenced, but the technique is trivial for the suspended account holder since it only requires a valid pre-existing OAuth token.

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 – Oct 19, 2026

Suspended or disabled Mastodon accounts can continue receiving real-time streaming updates in versions before 4.4.6, 4.3.14, and 4.2.27 because the streaming API does not re-check account suspension and does not terminate existing connections on moderation action. This low-severity moderation bypass (CVSS 4.3) requires the suspended account to already hold a valid OAuth token (authenticated, PR:L) and only exposes read-only timeline/notification data; no public exploit code or active exploitation has been identified, and EPSS is 0.23%.

RemediationAI

Upgrade to Mastodon 4.4.6, 4.3.14, or 4.2.27 (vendor-released patch). The advisory states no known workarounds exist. If an immediate upgrade is not possible, operators can restart the streaming service to terminate existing streaming connections, but this disconnects all streaming users and does not prevent suspended accounts from reconnecting because the token lookup still lacks the suspension check. After upgrading, verify that suspended accounts receive HTTP 401 on new streaming connection attempts and that existing connections close with code 1000, as covered by the upstream spec changes. See https://github.com/mastodon/mastodon/security/advisories/GHSA-r2fh-jr9c-9pxh and https://github.com/mastodon/mastodon/commit/2971ac9863b91372e68ac152caf6f4dbff511d17.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

Mastodon's streaming API is a Node.js service (streaming/index.js) that authenticates OAuth tokens against PostgreSQL and uses Redis pub/sub to push timeline and notification events. The root cause is CWE-273 (Improper Check for Dropped Privileges): the streaming token lookup filtered only on users.disabled IS FALSE and token revocation, never re-checking accounts.suspended_at, and the suspension workflow did not publish a kill event to disconnect existing streams. The fix adds an INNER JOIN on accounts with accounts.suspended_at IS NULL and publishes a Redis kill event (timeline:system:<id>) when a local account is suspended, causing streaming connections to close. Affected CPE is cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* for versions before 4.4.6, 4.3.14, and 4.2.27. Authentication requirements are confirmed by the CVSS vector as PR:L, meaning the attacker must be an authenticated holder of a valid, non-revoked OAuth token for the suspended or disabled account; exploitation is available only to that account holder, not to arbitrary remote parties, and impact is limited to continued read-only streaming visibility.

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

Vendor (github) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.3 MEDIUM

Requires a pre-existing authenticated token so PR:L, remote over the network with no user interaction (AV:N/AC:L/UI:N); only read-only stream exposure gives C:L, with no integrity or availability impact.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

DescriptionCVE.org

Mastodon is a free, open-source social network server based on ActivityPub. In versions before 4.4.6, 4.3.14, and 4.2.27, disabling or suspending a user account does not disconnect the account from the streaming API. This allows disabled or suspended accounts to continue receiving real-time updates through existing streaming connections and to establish new streaming connections, even though they cannot interact with other API endpoints. This undermines moderation actions, as administrators expect disabled or suspended accounts to be fully disconnected from the service. This issue has been patched in versions 4.4.6, 4.3.14, and 4.2.27. No known workarounds exist.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
widely-used fediverse server software, common but not enterprise-ubiquitous
Data Quality
4 sources
Confidence: Medium

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 No
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
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-33868 MEDIUM POC
4.3 Mar 27

Mastodon prior to versions 4.5.8, 4.4.15, and 4.3.21 contains an unauthenticated Open Redirect vulnerability in the `/we

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

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