CVE-2023-36460 CRITICAL

CVE-2023-36460: Mastodon vulnerable to arbitrary file creation through media attachments

Vendor Mastodon
Product mastodon
Weakness CWE-22 · Path traversal
Published July 6, 2023
Last update February 13, 2025

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 6, 2023 CVE published
February 13, 2025 Record updated