CVE-2025-34089 Remote for Mac Unauthenticated Remote Code Execution via AppleScript Injection

Critical 9.3 Published Updated

Unauthenticated attackers can execute arbitrary code on macOS hosts via AppleScript injection when authentication is disabled in Remote for Mac.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-34089?

CVE-2025-34089 is a critical code injection vulnerability in Aexol Studio Remote for Mac, published on 3 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-94, CWE-306

Which versions are affected by CVE-2025-34089?

How do I fix CVE-2025-34089?

No fix has been published for CVE-2025-34089 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-34089 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34089 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-5pfw-6387-hgmr.

Is CVE-2025-34089 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free