Apple Screen Sharing Pre-Auth RCE
Apple's Screen Sharing daemon (screensharingd) has a pre-authentication vulnerability in its SRP frame-length validation process. This flaw allows an attacker to manipulate the frame length, bypassing authentication and gaining root-level access to the system. No user interaction or knowledge of the target's configuration is required for this exploit.
The flaw occurs when screensharingd receives an SRP frame whose length exceeds 32,767 bytes, causing the daemon to interpret the error path's return value as authentication completion. This triggers the post-auth message loop, allowing the attacker to inject and execute arbitrary code, such as a reverse shell and root crontab, within 60 seconds.
The exploit targets a Mac with Screen Sharing enabled, which is enabled by default on stock Macs. The vulnerability exists in the SRP validation process and is not affected by SIP (System Integrity Protection), a security feature that protects the system from unauthorized modifications. The exploit is independent of any password or valid username requirements and works on any Mac running macOS 26.3 with Screen Sharing enabled.
Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.