Description
An unauthenticated remote code execution vulnerability exists in Remote for Mac, a macOS remote control utility developed by Aexol Studio, in versions up to and including 2025.7. When the application is configured with authentication disabled (i.e., the "Allow unknown devices" option is enabled), the /api/executeScript endpoint is exposed without access control. This allows unauthenticated remote attackers to inject arbitrary AppleScript payloads via the X-Script HTTP header, resulting in code execution using do shell script. Successful exploitation grants attackers the ability to run arbitrary commands on the macOS host with the privileges of the Remote for Mac background process.
Problem types
CWE-306 Missing Authentication for Critical Function
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
* (semver)
Credits
Chokri Hammedi
References
raw.githubusercontent.com/.../osx/http/remote_for_mac_rce.rb
www.rapid7.com/...dules/exploit/osx/http/remote_for_mac_rce/
apps.apple.com/us/app/remote-for-mac/id1086962925
packetstorm.news/files/id/195347
vulncheck.com/advisories/remote-for-mac-rce