{"id":"CVE-2023-36460","url":"https://www.cyber-defence.io/tools/cve/CVE-2023-36460","generatedAt":"2026-11-04T23:11:15.792Z","title":"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.","description":"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.","published":"2023-07-06T19:15:11.000Z","lastModified":"2026-06-17T06:06:18.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},"cwe":["CWE-22"],"affected":["joinmastodon/mastodon"],"epss":{"score":0.4011,"percentile":0.98637,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 40.1%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2023/07/06/4","tags":["Mailing List"],"source":"security-advisories@github.com"},{"url":"https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440","tags":["Patch","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/mastodon/mastodon/releases/tag/v3.5.9","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.0.5","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.1.3","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"http://www.openwall.com/lists/oss-security/2023/07/06/4","tags":["Mailing List"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mastodon/mastodon/releases/tag/v3.5.9","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.0.5","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.1.3","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-36460","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}