CVE-2024-25623
CVE-2024-25623 is a high-severity vulnerability in Joinmastodon Mastodon with a CVSS 3.x base score of 8.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-434.
Key facts
- Severity: High (CVSS 3.x base score 8.5)
- EPSS exploit prediction: 1% (40th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-22944
- Weakness: CWE-434
- Affected product: Joinmastodon Mastodon
- Published:
- Last modified:
Description
Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19, when fetching remote statuses, Mastodon doesn't check that the response from the remote server has a `Content-Type` header value of the Activity Streams media type, which allows a threat actor to upload a crafted Activity Streams document to a remote server and make a Mastodon server fetch it, if the remote server accepts arbitrary user uploads. The vulnerability allows a threat actor to impersonate an account on a remote server that satisfies all of the following properties: allows the attacker to register an account; accepts arbitrary user-uploaded documents and places them on the same domain as the ActivityPub actors; and serves user-uploaded document in response to requests with an `Accept` header value of the Activity Streams media type. Versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19 contain a fix for this issue.
Frequently asked questions
- What is CVE-2024-25623?
- Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19, when fetching remote statuses, Mastodon doesn't check that the response from the remote server has a `Content-Type` header value of the Activity Streams media type, which allows a threat actor to upload a crafted Activity Streams document to a remote server and make a Mastodon server fetch it, if the remote server accepts arbitrary user uploads. The vulnerability allows a threat actor to impersonate an account on a remote server that satisfies all of the following properties: allows the attacker to register an account; accepts arbitrary user-uploaded documents and places them on the same domain as the ActivityPub actors; and serves user-uploaded document in response to requests with an `Accept` header value of the Activity Streams media type. Versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19 contain a fix for this issue.
- How severe is CVE-2024-25623?
- CVE-2024-25623 has a CVSS 3.x base score of 8.5, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity high, and availability none.
- Is CVE-2024-25623 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-25623?
- CVE-2024-25623 affects Joinmastodon Mastodon. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-25623?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-25623 have an EU (EUVD) identifier?
- Yes. CVE-2024-25623 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-22944.
- When was CVE-2024-25623 published?
- CVE-2024-25623 was published on 2024-02-19 and last updated on 2026-06-17.
References
- https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022
- https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36
Affected products (1)
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
More vulnerabilities in Joinmastodon Mastodon
- CVE-2023-36460 — Critical (CVSS 9.9): Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 3.5.0 and prior to…
- CVE-2022-2166 — Critical (CVSS 9.8): Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0.
- CVE-2022-24307 — Critical (CVSS 9.8): Mastodon before 3.3.2 and 3.4.x before 3.4.6 has incorrect access control because it does not compact incoming signed…
- CVE-2018-21018 — Critical (CVSS 9.8): Mastodon before 2.6.3 mishandles timeouts of incompletely established sessions.
- CVE-2024-23832 — Critical (CVSS 9.4): Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for…
- CVE-2023-36459 — Critical (CVSS 9.3): Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 1.3 and prior to…
All CVEs affecting Joinmastodon Mastodon →
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-48283 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-48276 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-57700 — Critical (CVSS 10.0): Unrestricted Upload of File with Dangerous Type vulnerability in Daan.Dev OMGF Pro allows Using Malicious Files. This…
- CVE-2025-69129 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in WordPress & WooCommerce Scraper Plugin, Import Data from Any Site <= 1.0.7…
- CVE-2026-40772 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in GeekyBot <= 1.2.2 versions.
- CVE-2026-40412 — Critical (CVSS 10.0): Unrestricted upload of file with dangerous type in Azure Orbital Spatio allows an unauthorized attacker to execute code…
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →