Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-16477 Overview
CVE-2026-16477 is an insecure deserialization vulnerability [CWE-502] in CleanShot X for macOS. The application deserializes untrusted data embedded in .cleanshot project files, which store editable screenshot annotations. When a user opens a malicious .cleanshot file, the embedded payload executes automatically during parsing. Exploitation results in arbitrary code execution in the context of the current user. The vendor fixed the issue in versions 4.5.2, 4.6.3, 4.7.8, and 4.8.10.
Critical Impact
Opening a crafted .cleanshot file triggers arbitrary code execution with the privileges of the logged-in macOS user, enabling full account compromise.
Affected Products
- CleanShot X for macOS versions prior to 4.5.2 (4.5.x branch)
- CleanShot X for macOS versions prior to 4.6.3, 4.7.8 (4.6.x and 4.7.x branches)
- CleanShot X for macOS versions prior to 4.8.10 (4.8.x branch)
Discovery Timeline
- 2026-10-22 - CVE CVE-2026-16477 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-16477
Vulnerability Analysis
CleanShot X uses the .cleanshot file format to persist editable screenshot annotations. The format carries serialized object data that the application reconstructs when a user opens the file. The parser deserializes this data without validating the embedded object graph or restricting the allowable classes. Attackers can craft a .cleanshot file whose serialized stream instantiates objects that trigger code execution during initialization. The payload runs the moment the parser materializes the object graph, before any user interaction with the annotations.
Successful exploitation grants the attacker arbitrary code execution under the current user's account. From that position, the attacker can read user files, exfiltrate credentials from the macOS Keychain under user context, install persistence mechanisms, and pivot to other resources accessible to the user.
Root Cause
The root cause is unsafe deserialization of attacker-controlled data in the .cleanshot file parser. The deserialization routine trusts the serialized stream and does not enforce a class allow-list or integrity check. This matches the pattern described in CWE-502: Deserialization of Untrusted Data.
Attack Vector
Exploitation requires an attacker to craft a malicious .cleanshot file, deliver it through phishing, shared drives, or messaging platforms, and convince the target to open it. The attack vector is local and requires user interaction, but no privileges or additional clicks beyond opening the file. Users who have never opened a .cleanshot file from an untrusted source are not exposed to this vulnerability. Technical details are published in the CERT Poland CVE-2026-16477 Advisory.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-16477
Indicators of Compromise
- Unexpected .cleanshot files in email attachments, downloads, or temporary directories originating from untrusted senders.
- CleanShot X process (CleanShot X) spawning child processes such as /bin/sh, osascript, curl, or python3 shortly after opening a project file.
- Outbound network connections initiated by the CleanShot X process to unfamiliar hosts.
- New LaunchAgents or LaunchDaemons created under the user's home directory immediately after opening a .cleanshot file.
Detection Strategies
- Monitor process ancestry on macOS endpoints for CleanShot X spawning scripting interpreters or shell binaries.
- Alert on file writes to ~/Library/LaunchAgents/ or ~/Library/Application Support/ by the CleanShot X process.
- Hunt for .cleanshot files delivered through email gateways or collaboration platforms and correlate with endpoint telemetry.
Monitoring Recommendations
- Enable file access auditing for the .cleanshot extension across managed macOS fleets.
- Capture process execution and network connection telemetry from CleanShot X and forward it to a centralized analytics backend.
- Review Keychain access events for anomalous reads tied to the CleanShot X process context.
How to Mitigate CVE-2026-16477
Immediate Actions Required
- Upgrade CleanShot X to a fixed version: 4.5.2, 4.6.3, 4.7.8, or 4.8.10 depending on the installed branch.
- Instruct users not to open .cleanshot files received from untrusted or unverified sources.
- Scan file shares, email archives, and endpoints for .cleanshot files received from external senders.
Patch Information
The vendor addressed the deserialization flaw in CleanShot X versions 4.5.2, 4.6.3, 4.7.8, and 4.8.10. Administrators should identify the installed branch and apply the corresponding patched build. Refer to the CERT Poland CVE-2026-16477 Advisory and the CleanShot product site for release details.
Workarounds
- Block or quarantine .cleanshot file attachments at email and collaboration gateways until all endpoints are patched.
- Remove the file-type association for .cleanshot on endpoints where CleanShot X cannot be updated immediately.
- Restrict execution of CleanShot X on managed macOS devices through application control policies pending remediation.
# Verify installed CleanShot X version on macOS
defaults read /Applications/CleanShot\ X.app/Contents/Info.plist CFBundleShortVersionString
# Remove quarantined .cleanshot files from Downloads older than today
find ~/Downloads -name '*.cleanshot' -print
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

