Threat reportVulnerabilityTL-2026-4153
CVE-2026-16477: Deserialization of Untrusted Data (CWE-502) in MTW CleanShot X (macOS) leading to code execution via malicious .cleanshot file
CERT Polska reports a CWE-502 deserialization vulnerability in MTW CleanShot X for macOS (4.0.0 through 4.5.2). Opening a crafted .cleanshot project file executes an attacker payload during parsing, running code as the current user. The vendor shipped security updates 4.5.2, 4.6.3, 4.7.8 and 4.8.10 on 2026-07-21. First disclosed .
Key facts
| Identifiers | TL-2026-4153, CVE-2026-16477 |
|---|---|
| Severity | MEDIUM |
| First disclosed | |
| EPSS | CVE-2026-16477: 0.2% (21.3th percentile) |
| Affected products | MTW CleanShot X (macOS) |
| Weaknesses (CWE) | CWE-502 |
| MITRE ATT&CK techniques | T1005 Data from Local System, T1059 Command and Scripting Interpreter, T1203 Exploitation for Client Execution, T1204.002 User Execution: Malicious File, T1566 Phishing |
| Motivation | UNKNOWN |
| Target sectors | technology, news - media, education, enterprise |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-10-22, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4153 across Splunk SPL, Microsoft KQL and Sigma, covering 9 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: CleanShot X Spawns Shell or Interpreter (CVE-2026-16477 Exploitation)
Behaviour-first detection of CVE-2026-16477 exploitation: the CleanShot X macOS app (4.0.0-4.5.2 and unpatched later branches) deserializes a crafted .cleanshot project file and runs attacker code as the current user. Any shell, scripting interpreter or network utility launched as a child of the CleanShot X process is anomalous. Uses the Splunk CIM Endpoint.Processes data model fed by a macOS EDR.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1203, T1204.002, T1059
- Data sources: splunk_cim_endpoint_processes, macos_edr_process_telemetry
- Severity: high
- Confidence: high
Splunk SPL
| tstats summariesonly=false count min(_time) as firstTime max(_time) as lastTime values(Processes.process) as cmdlines values(Processes.parent_process) as parent_cmdline from datamodel=Endpoint.Processes where (Processes.parent_process_name="CleanShot X" OR Processes.parent_process_path="*/CleanShot X.app/Contents/MacOS/*") AND Processes.process_name IN ("sh","bash","zsh","dash","ksh","tcsh","osascript","python","python3","perl","ruby","node","swift","curl","nscurl","wget","nc","ncat","openssl") by Processes.dest Processes.user Processes.parent_process_name Processes.process_name
| rename "Processes.*" as *
| convert ctime(firstTime) ctime(lastTime)
| table firstTime lastTime dest user parent_process_name process_name cmdlines parent_cmdline countMicrosoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ 'CleanShot X' or InitiatingProcessFolderPath has 'CleanShot X.app'
| where FileName in~ ('sh','bash','zsh','dash','ksh','tcsh','osascript','python','python3','perl','ruby','node','swift','curl','nscurl','wget','nc','ncat','openssl')
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessCommandLine, FileName, FolderPath, ProcessCommandLine, SHA256
| order by Timestamp descSigma
title: CleanShot X Spawning Shell or Scripting Interpreter Child Process
id: 3f6c1a52-8b7d-4e19-9a41-2c5d7e0b9a11
status: experimental
description: Detects the CleanShot X macOS application spawning a shell, scripting interpreter or network utility. CVE-2026-16477 (CWE-502) executes an attacker payload as the current user while a crafted .cleanshot project file is parsed, and the screenshot tool has no legitimate need to launch these children.
references:
- https://cert.pl/en/posts/2026/10/CVE-2026-16477/
author: Threadlinqs Team
date: 2026-10-22
tags:
- attack.execution
- attack.t1203
- attack.t1204.002
- attack.t1059
- cve.2026.16477
logsource:
category: process_creation
product: macos
detection:
selection_parent:
ParentImage|contains: '/CleanShot X.app/Contents/MacOS/'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/zsh'
- '/dash'
- '/ksh'
- '/tcsh'
- '/osascript'
- '/python'
- '/python3'
- '/perl'
- '/ruby'
- '/node'
- '/swift'
- '/curl'
- '/nscurl'
- '/wget'
- '/nc'
- '/ncat'
- '/openssl'
condition: selection_parent and selection_child
falsepositives:
- User-configured CleanShot X post-capture scripts or Shortcuts integrations
- Developer tooling that wraps the app via custom launchers
level: high
Known false positives:
- Users who configured CleanShot X post-capture actions that call scripts or osascript
- Legitimate Shortcuts/Automator workflows launched from the app
Tuning notes: Confirm macOS EDR process events populate Endpoint.Processes with parent_process_name. Allow-list known script paths in cmdlines if the org sanctions CleanShot X automation. Alert immediately on curl/nscurl/wget/nc children.
- Externally Delivered .cleanshot Project File Followed by CleanShot X Launch · unlock with TL Creds
- Local Data and Credential Collection After CleanShot X Child Process · unlock with TL Creds
- CleanShot X or Child Process Connecting to Non-Vendor Public Hosts · unlock with TL Creds
- Scripted open of .cleanshot File Targeting CleanShot X · unlock with TL Creds
- Quarantine Attribute Removal and Staged Payload Preparation (Gatekeeper Evasion) · unlock with TL Creds
- Remote Access Enablement or SSH Pivot from CleanShot X Process Tree · unlock with TL Creds
- Persistence via LaunchAgent/launchctl Following CleanShot X Child Process · unlock with TL Creds
- Second-Stage Download or Reverse Shell After CleanShot X Child Process · unlock with TL Creds
Indicators of compromise
As of 2026-10-22, Threadlinqs Intelligence tracks 9 indicators of compromise for TL-2026-4153.
Sample indicators (1 of 9)
- Domain:
cleanshot[.]com
Defanged, TLP:CLEAR. Full set of 9 indicators: unlock with TL Creds.
Technical analysis
CVE-2026-16477 is a deserialization of untrusted data weakness (CWE-502) in CleanShot X for macOS, developed by MTW. The editable .cleanshot project format was introduced in CleanShot X 4.0 (2021-12-13) and lets users save annotated screenshots as projects that can be reopened and edited. According to the CERT Polska advisory (published 2026-10-22), a specially crafted .cleanshot file carries a payload that is executed automatically during parsing, resulting in arbitrary code execution in the context of the current user.
Exploitation requires user interaction: the victim must open an attacker-supplied .cleanshot file obtained through some untrusted delivery channel (the advisory refers to 'untrusted file delivery' without naming a specific channel). No network-reachable attack surface is described. Code runs with the privileges of the logged-in user, not root.
The vendor changelog (cleanshot.com/changelog) lists versions 4.5.2, 4.6.3, 4.7.8 and 4.8.10, all dated 2026-07-21 and each labelled 'Important security update recommended for all users'. These are parallel fixes across the 4.5, 4.6, 4.7 and 4.8 release branches. This explains why the advisory lists 4.5.2 as both the upper end of the affected range and a fixed version: the affected range most likely means releases before the fix on each branch. The advisory text does not state this, so it is an analyst inference. Users should update to the latest release on whichever branch they run.
The advisory does not provide a CVSS score. The CVE.org page and the NVD API returned no usable record at research time (NVD returned zero results). The advisory reports no CISA KEV listing, no public proof-of-concept, no in-the-wild exploitation, no IOCs and no attribution. The discoverer is credited as Dharan24. Severity MEDIUM is analyst-assigned, reflecting the required user interaction and current-user privilege. BeaconBeagle was not queried because the sources contain no network IOCs.
MITRE ATT&CK techniques by tactic:
Collection
Execution
T1059 Command and Scripting Interpreter; T1203 Exploitation for Client Execution; T1204.002 User Execution: Malicious File
Initial Access
Remediation
Patches
- CleanShot X 4.5.2, 4.6.3, 4.7.8 and 4.8.10 (vendor releases dated 2026-07-21)
Immediate actions
- Update CleanShot X to the latest release on the branch in use: 4.5.2, 4.6.3, 4.7.8 or 4.8.10 (or newer)
- Do not open .cleanshot project files from untrusted or unverified senders
Workarounds
- Avoid opening externally sourced .cleanshot files until patched
- Block or quarantine .cleanshot attachments at email and web gateways where not business-required
Longer-term hardening
- Inventory macOS endpoints running CleanShot X and enforce minimum version via MDM
- Monitor for unexpected child processes spawned by the CleanShot X application
- Apply least privilege for macOS user accounts so current-user code execution has limited reach
Affected and fixed versions
- MTW — CleanShot X (macOS)
Vulnerable versions: 4.0.0 through 4.5.2 (per CERT Polska; range boundary overlaps the 4.5.2 fixed version)
Fixed in: 4.5.2; 4.6.3; 4.7.8; 4.8.10
Timeline
- CleanShot X 4.0 introduces the editable .cleanshot project file format, the parser of which is the affected attack surface.
- MTW releases CleanShot X 4.8.10, labelled an important security update, together with macOS Golden Gate compatibility and a Tahoe dialog focus fix.
- MTW releases CleanShot X 4.7.8, labelled an important security update recommended for all users.
- MTW releases CleanShot X 4.6.3, labelled an important security update recommended for all users.
- MTW releases CleanShot X 4.5.2, labelled an important security update recommended for all users.
- CERT Polska publishes the advisory for CVE-2026-16477, crediting Dharan24 and listing affected versions 4.0.0 to 4.5.2 and fixed versions 4.5.2, 4.6.3, 4.7.8 and 4.8.10.
Sources cited
- CERT Polska: Vulnerability in MTW CleanShot X software (CVE-2026-16477) cert.pl · Advisory · 2026-10-22
- CVE record CVE-2026-16477 CVE Program · Advisory · 2026-10-22
- NVD API query for CVE-2026-16477 NVD (NIST) · Advisory · 2026-10-22
- CERT Polska Coordinated Vulnerability Disclosure cert.pl · Advisory
- CleanShot X Changelog (security updates 4.5.2, 4.6.3, 4.7.8, 4.8.10) cleanshot.com · Vendor report · 2026-07-21
- CWE-502: Deserialization of Untrusted Data MITRE · Research
- 9to5Mac: CleanShot X launches own file format with new update (.cleanshot introduction) 9to5mac.com · News · 2021-12-18
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.