{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-36460","id":"CVE-2023-36460","title":"Mastodon vulnerable to arbitrary file creation through media attachments","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","descriptionLong":"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-06T18:39:09.825Z","updated":"2026-10-28T02:30:52.129184373Z","reserved":"2023-06-21T18:50:41.699Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["mastodon"],"affectedProducts":[{"vendor":"mastodon","product":"mastodon","defaultStatus":null,"versions":[{"version":">= 3.5.0, < 3.5.9","status":"affected"},{"version":">= 4.0.0, < 4.0.5","status":"affected"},{"version":">= 4.1.0, < 4.1.3","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":["BIT-mastodon-2023-36460","GHSA-9928-3cp5-93fm"],"references":[{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/mastodon/mastodon/releases/tag/v3.5.9","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.0.5","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.1.3","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/06/4","tags":["x_transferred","Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36460.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36460","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.4011,"epssPercentile":0.98663,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-36460","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36460","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-36460","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-36460","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 40% with CVSS 10.0"],"attention":null}