CVE-2023-36460
criticalpriority · attend · 54EPSS 0.401 · 99 %ileEURUUSEPSS · scored 2026-10-27
Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 3.5.0 and prior to versions 3.5.9, 4.0.5, and 4.1.3, attackers using carefully crafted media files can cause Mastodon's media processing code to create arbitrary files at any location. This allows attackers to create and overwrite any file Mastodon has access to, allowing Denial of Service and arbitrary Remote Code Execution. Versions 3.5.9, 4.0.5, and 4.1.3 contain a patch for this issue.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-mastodon-2023-36460Mastodon vulnerable to arbitrary file creation through media attachments2024-03-06vendor · osvUS
Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 3.5.0 and prior to versions 3.5.9, 4.0.5, and 4.1.3, attackers using carefully crafted media files can cause Mastodon's media processing code to create arbitrary files at any location. This allows attackers to create and overwrite any file Mastodon has access to, allowing Denial of Service and arbitrary Remote Code Execution. Versions 3.5.9, 4.0.5, and 4.1.3 contain a patch for this issue.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2023/07/06/4cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-36460/cnnvd
- https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440cnnvd
- https://github.com/mastodon/mastodon/releases/tag/v3.5.9cnnvd
- https://github.com/mastodon/mastodon/releases/tag/v4.0.5cnnvd
- https://github.com/mastodon/mastodon/releases/tag/v4.1.3cnnvd
- https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fmcnnvd
- http://www.openwall.com/lists/oss-security/2023/07/06/4enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan