Skip to main content

Mastodon CVE-2025-62605

MEDIUM
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2025-10-21 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 to Mastodon instance
  2. Exploit
    Reblog restricted target post
  3. Execution
    Quote own reblog to bypass controls
  4. Impact
    Display unauthorized quote preview

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Unusual condition handling
Exploitation Conditions

Requires an authenticated account (PR:L) on a Mastodon instance running a vulnerable version (prior to 4.4.8 or 4.5.0-beta.2) that supports the quote-posts-with-quote-controls feature introduced in 4.4. The concrete prerequisite is a two-step action: the attacker must first reblog the target post, then create a quote referencing that reblog, exploiting Mastodon's internal treatment of reblogs as ordinary statuses. Limiting factors: exploitation is impossible on instances not running the 4.4 quote-controls feature or already on 4.4.8/4.5.0-beta.2+, and it requires a valid account; no victim user interaction is needed. Impact is limited to defeating the quote-authorization control (showing an unauthorized preview) rather than data exposure or takeover.

Impact

This is a low-to-moderate priority issue, consistent with its CVSS 3.1 base score of 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N). The vector indicates network-reachable, low-complexity exploitation but requires an authenticated account (PR:L) and yields only a low integrity impact with no confidentiality or availability loss - the flaw lets an attacker defeat quote controls by reblogging a post and then quoting their own reblog, surfacing an unauthorized quote preview rather than exposing secret data or granting code execution. Supporting signals reinforce low urgency: EPSS is 0.29% at the 20th percentile (low exploitation probability), the CVE is NOT on the CISA KEV list, and no public exploit code is referenced in the provided data. There is no SSVC decision data supplied. The source-code evidence (added validate_original_quoted_status rejecting reblog quoted_statuses, and reblog guards in the serializer and ActivityPub verify/import services) confirms the root cause is an improper condition check (CWE-754) on reblog-type statuses, matching the description precisely. Signals are internally consistent - there is no conflict between CVSS, EPSS, and KEV - so this is a genuine but low-severity integrity/trust issue, not a high-risk security emergency.

Exploit ScenarioDerived

An attacker with an ordinary account on a vulnerable Mastodon instance reblogs a post whose author has restricted or denied quoting, then creates a quote post referencing that reblog. Because Mastodon failed to specially treat reblogs, the quote is accepted and renders a full preview of the victim's post with affordances the quote controls were meant to prevent. No public exploit code is identified at time of analysis, and exploitation is low-complexity but requires an authenticated account.

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

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Mastodon instances running 4.4.x before 4.4.8 (and 4.5.0-beta.1) allow authenticated users to bypass quote-post authorization controls by reblogging a target post and then quoting that reblog, which causes Mastodon to display an unauthorized preview of the original content with the affordances that quote controls are meant to deny. The flaw requires a valid account (PR:L) and no victim interaction, but impact is limited to a low integrity violation (CVSS 4.3, C:N/I:L/A:N). No public exploit code or active exploitation has been identified; EPSS is 0.29% (20th percentile).

RemediationAI

Upgrade to Mastodon 4.4.8 or 4.5.0-beta.2, which contain the vendor patch. The fixes are in commits 2dc4552229b55e2e4adaef675e68ed7ae123d78e and 405a49df44033e7d179f3d44d59fb68a67d54789, and the release notes are at https://github.com/mastodon/mastodon/releases/tag/v4.4.8 and https://github.com/mastodon/mastodon/releases/tag/v4.5.0-beta.2; see also the advisory https://github.com/mastodon/mastodon/security/advisories/GHSA-8h43-rcqj-wpc6. No specific workaround is documented by the vendor. As a compensating control, administrators of instances that cannot upgrade immediately could disable the quote-posts feature (if configurable) or restrict the ability to create quotes to trusted users, but these measures may impact functionality and do not fully eliminate the bypass for enabled quotes.

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 4.4 introduced verifiable quote posts with quote controls, implemented using ActivityPub and the FEP-044f QuoteAuthorization mechanism. Internally, Mastodon models reblogs (boosts) as ordinary statuses, and the quote validation logic did not exclude reblogs from being a quoted_status. An attacker could therefore reblog any post, then create a quote whose quote target is that reblog; because the reblog is a status authored by the attacker, the quote appeared self-authorized, yet the serializer and ActivityPub verification service would still embed the original post's preview, circumventing the intended authorization check. The root cause aligns with CWE-754 (Improper Check or Handling of Exceptional Conditions): the application failed to treat reblogs as a special case when validating quote targets. The fix adds a model validation rejecting reblogs as quoted_status, plus explicit reblog checks in the REST serializer and ActivityPub::VerifyQuoteService. Affected CPEs include cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* and cpe:2.3:a:joinmastodon:mastodon:4.5.0:beta1:*:*:*:*:*:*.

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:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

Network-reachable, low-complexity bypass requiring any authenticated account (PR:L) with no user interaction; impact is a low integrity/trust violation only, with no confidentiality or availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/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
None
Integrity
Low
Availability
None

DescriptionCVE.org

Mastodon is a free, open-source social network server based on ActivityPub. In Mastodon version 4.4, support for verifiable quote posts with quote controls was added, but it is possible for an attacker to bypass these controls in Mastodon versions prior to 4.4.8 and 4.5.0-beta.2. Mastodon internally treats reblogs as statuses. Since they were not special-treated, an attacker could reblog any post, then quote their reblog, technically quoting themselves, but having the quote feature a preview of the post they did not get authorization for with all of the affordances that would be otherwise denied by the quote controls. This issue has been patched in versions 4.4.8 and 4.5.0-beta.2.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular federated social server, thousands of instances 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.3%
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

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
cpe:2.3:a:joinmastodon:mastodon:4.5.0:beta1:*:*:*:*:*:*
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