BreachSpiderVerified, not vibes

CVE-2024-25619 in Joinmastodon Mastodon

Medium 4.3 Fix available

Mastodon is a free, open-source social network server based on ActivityPub. When an OAuth Application is destroyed, the streaming server wasn't being informed that the Access Tokens had also been destroyed, this could have posed security risks to users by allowing an application to continue listening to streaming af...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.14.3
EPSS0.6%
EPSS percentile43th
FixAvailable

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Joinmastodon Mastodon < 3.5.18 ≥ 4.0.0, < 4.0.14 ≥ 4.1.0, < 4.1.14 ≥ 4.2.0, < 4.2.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Mastodon is a free, open-source social network server based on ActivityPub. When an OAuth Application is destroyed, the streaming server wasn't being informed that the Access Tokens had also been destroyed, this could have posed security risks to users by allowing an application to continue listening to streaming after the application had been destroyed. Essentially this comes down to the fact that when Doorkeeper sets up the relationship between Applications and Access Tokens, it uses a `dependent: delete_all` configuration, which means the `after_commit` callback setup on `AccessTokenExtension` didn't actually fire, since `delete_all` doesn't trigger ActiveRecord callbacks. To mitigate, we need to add a `before_destroy` callback to `ApplicationExtension` which announces to streaming that all the Application's Access Tokens are being "killed". Impact should be negligible given the affected application had to be owned by the user. None the less this issue has been addressed in versions 4.2.6, 4.1.14, 4.0.14, and 3.5.18. Users are advised to upgrade. There are no known workaround for this vulnerability.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-25619
BreachSpider IDBS-2024-GLOBAL-190539-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published2024-02-14
Last modified2024-12-18
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-613: CWE-613

CWE-672: CWE-672

Analysis AI-written, not human-reviewed

A medium severity vulnerability affects Joinmastodon systems (CVE-2024-25619). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

Vulnerability details: Mastodon is a free, open-source social network server based on ActivityPub. When an OAuth Application is destroyed, the streaming server wasn't being informed that the Access Tokens had also been destroyed, this could have posed security risks to users by allowing an application to continue listening to streaming after the application had been destroyed. Essentially this comes down to the fact that when Doorkeeper sets up the relationship between Applications and Access Tokens, it uses a `depend CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

Questions

What is CVE-2024-25619?

A medium severity vulnerability affects Joinmastodon systems (CVE-2024-25619). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

What is the CVSS score for CVE-2024-25619?

CVE-2024-25619 has CVSS 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.6%.

Is CVE-2024-25619 actively exploited?

No confirmed active exploitation of CVE-2024-25619 as of 2026-05-30.

How do I remediate CVE-2024-25619?

Priority: LOW. PSIRT: [email protected]

What systems are affected by CVE-2024-25619?

CVE-2024-25619 affects Joinmastodon Mastodon.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Joinmastodon","product":"Mastodon","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-12-18.