CVEBrief

Home / mastodon / mastodon / CVE-2024-25619

CVE-2024-25619: is it exploited, and which versions of mastodon are affected and fixed?

CVE-2024-25619 is a session does not expire vulnerability in mastodon. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: mastodon >= 4.2.6, < 4.2.6, mastodon >= 4.1.0, < 4.1.14, mastodon >= 4.0.0, < 4.0.14 and 1 more (CVE record by GitHub_M). Fixed in 3.5.18, 4.0.14, 4.1.14 and 4.2.6 (NVD). Severity: Low (3.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:32 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
mastodon >= 4.2.6, < 4.2.6, mastodon >= 4.1.0, < 4.1.14, mastodon >= 4.0.0, < 4.0.14 and 1 more
CVE record by GitHub_M
Fixed in
3.5.18, 4.0.14, 4.1.14 and 4.2.6
NVD
Severity
Low 3.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.36% in 30 days
higher than 32% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-25619?

Destroying OAuth Applications doesn't notify Streaming of Access Tokens being destroyed in mastodon

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.

From the CVE record by GitHub_M, last updated August 1, 2024, 23:44 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
mastodonmastodon>= 4.2.6, < 4.2.6
>= 4.1.0, < 4.1.14
>= 4.0.0, < 4.0.14
< 3.5.18

As the CVE record by GitHub_M states it, last updated August 1, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
joinmastodonmastodonbefore 3.5.18application
joinmastodonmastodonfrom 4.0.0 before 4.0.14application
joinmastodonmastodonfrom 4.1.0 before 4.1.14application
joinmastodonmastodonfrom 4.2.0 before 4.2.6application

NVD analysis (status Analyzed), last modified June 17, 2026, 07:16 UTC.

How severe is CVE-2024-25619?

ScoreVersionVectorSource
Low 3.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NGitHub_M
Medium 4.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-25619 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 15, 2024)
EPSS
0.36% probability of exploitation activity in the next 30 days, percentile 32.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 8, 2024
Published
February 14, 2024, 20:50 UTC
CVE record updated
August 1, 2024, 23:44 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 07:16 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect mastodon?

Every CVE in mastodon

Questions about CVE-2024-25619

Is CVE-2024-25619 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of mastodon are affected by CVE-2024-25619?

mastodon >= 4.2.6, < 4.2.6, mastodon >= 4.1.0, < 4.1.14, mastodon >= 4.0.0, < 4.0.14 and mastodon < 3.5.18, per the CVE record by GitHub_M. The tables above give every range the sources list.

Which version fixes CVE-2024-25619?

3.5.18, 4.0.14, 4.1.14 and 4.2.6, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-25619?

Low (3.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2024-25619?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.